Skip to content

Conversation

@eugenepentland
Copy link
Contributor

Old code would just return after setting up the first driver. I removed that and had to update the CDC driver to have its own is_ready flag. There is a global ready flag in core/usb.zig but when you have multiple devices, if you connect to one cdc device and try writing to the disconnected one, it stalls out because that is_ready flag is set true.

I've tested this updated code on the RP2350B for reading/writing data to both drivers without any issues.

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