Skip to content

fix pio_usb_bus_wait_handshake() exit before EOP #176

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

Merged

Conversation

hathach
Copy link
Contributor

@hathach hathach commented Apr 11, 2025

This fixed and issue introduced by #164 where pio_usb_bus_wait_handshake() could exit before EOP is received, this cause race condition as result mouting some device especially Lowspeed attached directly (without hub).
I also check the SYNC before return the handshake as well, that would simplify the caller check

related issue:

PS: if possible a minor version bump would be great for Arduino user.

@sekigon-gonnoc sekigon-gonnoc merged commit 7c54b79 into sekigon-gonnoc:main Apr 14, 2025
7 checks passed
@hathach
Copy link
Contributor Author

hathach commented Apr 14, 2025

Thank you

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.

2 participants