Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix USB issues caused by early usb_cdc.Serial read #7100

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
merged 1 commit into from
Oct 22, 2022

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Oct 22, 2022

Check for connected before calling read. Otherwise TinyUSB may setup the read on the wrong endpoint.

Fixes #6018

Check for connected before calling read. Otherwise TinyUSB may
setup the read on the wrong endpoint.

Fixes micropython#6018
`
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@dhalbert dhalbert merged commit 5a6fffc into adafruit:main Oct 22, 2022
@er1z
Copy link

er1z commented Oct 22, 2022

When it's gonna be released?

@dhalbert
Copy link
Collaborator

When it's gonna be released?

There will be firmware downloads available as soon as this merge finishes building, in https://adafruit-circuit-python.s3.amazonaws.com/index.html?prefix=bin. Look for builds with g5a6fffc in their name, or one later than that.

I'm planning to do an 8.0.0-beta.4 early next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2nd USB CDC works at first, then device won't connect to computer
3 participants