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 stdio_usb with reset interface disabled on Windows #1857

Merged
merged 2 commits into from
Aug 24, 2024

Conversation

will-v-pi
Copy link
Contributor

@will-v-pi will-v-pi commented Aug 21, 2024

Only use bcdUSB = 0x0210 when reset interface and MS_OS_20 descriptor are enabled, otherwise Windows doesn't recognise the USB device

I can confirm this fixes #1802 on Windows

@will-v-pi will-v-pi added this to the 2.0.1 milestone Aug 21, 2024
@will-v-pi will-v-pi requested a review from kilograham August 21, 2024 10:23
@kilograham
Copy link
Contributor

can you please add a comment on why the difference

@will-v-pi
Copy link
Contributor Author

I've added an explanatory comment

@kilograham kilograham merged commit a46addb into develop Aug 24, 2024
2 checks passed
@kilograham kilograham deleted the stdio-usb-win-fix branch August 24, 2024 19:54
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