diff options
| author | robert-hh <robert@hammelrath.com> | 2022-10-16 13:49:03 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-09 11:16:55 +1100 |
| commit | d68e3b03b1053a6de0c7eb28f5989132c138364b (patch) | |
| tree | e24734a49b6ab94da96ec8881981018c6ae478c0 /lib | |
| parent | 5d473d309396942092077f4917be3e044c9a6c39 (diff) | |
esp32/usb: Add a timeout to usb_tx_strn().
If USB CDC is connected and the board sends data, but the host does not
receive the data, the device locks up. This is fixed in this commit by
having a timeout of 500ms, after which time the transmission is skipped.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
