Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Fix ENOTCONN for USB CDC driver #1

Open
wolfmanjm opened this issue Jun 13, 2017 · 0 comments
Open

Fix ENOTCONN for USB CDC driver #1

wolfmanjm opened this issue Jun 13, 2017 · 0 comments

Comments

@wolfmanjm
Copy link
Contributor

opening a USBCDC that is not connected should return ENOTCONN, but it only does so the first time. The second call always returns ok. This makes it impossible to properly detect if a host is connected or not, and also no way to see if the host has disconnected.

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

No branches or pull requests

1 participant