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 usbh enumeration removal race #2310

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Conversation

hathach
Copy link
Owner

@hathach hathach commented Nov 3, 2023

Describe the PR
Fix a race condition where device is removed while enumerating (repeatedly sometimes when plugging in) which cause following symptons

[1:] USBH Defer Attach until current enumeration complete
[1:] USBH Defer Attach until current enumeration complete
[1:] USBH Defer Attach until current enumeration complete
[1:] USBH Defer Attach until current enumeration complete
[1:] USBH Defer Attach until current enumeration complete

hathach added a commit to adafruit/Adafruit_TinyUSB_Arduino that referenced this pull request Nov 3, 2023
@hathach hathach merged commit f84eafc into master Nov 3, 2023
84 checks passed
@hathach hathach deleted the fix-usbh-enumeration-removal-race branch November 3, 2023 16:25
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.

1 participant