Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usbdev/USBUS: deprecate transfer failure reporting report #17046

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

bergzand
Copy link
Member

Contribution description

This deprecates the reporting of USB transfer failure (NAK). In 99% of the cases, reporting this back to higher layers is not useful as this indicates that the higher layer code had nothing to transfer when the host device polled us, which the higher layer code is probably already aware of.

Testing procedure

Check the added documentation deprecation notices.

Issues/PRs references

None

@bergzand bergzand added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation Area: USB Area: Universal Serial Bus labels Oct 24, 2021
@bergzand bergzand requested a review from dylad October 24, 2021 17:34
@github-actions github-actions bot added Area: drivers Area: Device drivers Area: sys Area: System labels Oct 24, 2021
@bergzand bergzand added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Oct 24, 2021
@benpicco benpicco merged commit 2aab2b8 into RIOT-OS:master Oct 25, 2021
@dylad dylad added this to the Release 2022.01 milestone Oct 25, 2021
@bergzand bergzand deleted the pr/usb/deprecate_fail_report branch October 25, 2021 16:20
bors bot added a commit that referenced this pull request Apr 21, 2023
19488: usbus: remove deprecated USBUS_HANDLER_FLAG_TR_FAIL flag r=gschorcht a=dylad

### Contribution description

This PR removes the deprecated `USBUS_HANDLER_FLAG_TR_FAIL` flag.

### Testing procedure

CI should be enough.

### Issues/PRs references

Was deprecated by #17046

Co-authored-by: Dylan Laduranty <[email protected]>
bors bot added a commit that referenced this pull request Apr 21, 2023
19488: usbus: remove deprecated USBUS_HANDLER_FLAG_TR_FAIL flag r=gschorcht a=dylad

### Contribution description

This PR removes the deprecated `USBUS_HANDLER_FLAG_TR_FAIL` flag.

### Testing procedure

CI should be enough.

### Issues/PRs references

Was deprecated by #17046

Co-authored-by: Dylan Laduranty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: sys Area: System Area: USB Area: Universal Serial Bus CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants