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

Fix invalid assert in RP2040 host mode when compiled in debug mode #1181

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

liamfraser
Copy link
Collaborator

RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status. Fixes raspberrypi/pico-sdk#649

…check for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status.
Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for your PR, apparently I never run with DEBUG build with pico-sdk. I mostly just run make LOG=2 all as I did with other mcu. Will try to set the build to debug when LOG > 0 in the cmake later on.

@hathach hathach merged commit ab76029 into hathach:master Nov 5, 2021
@liamfraser liamfraser deleted the rp2040-hcd-assert-fix branch July 18, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TinyUSB HOST_HID issue on debug builds
2 participants