diff options
| author | robert-hh <robert@hammelrath.com> | 2022-10-16 12:28:05 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-09 11:16:25 +1100 |
| commit | 5d473d309396942092077f4917be3e044c9a6c39 (patch) | |
| tree | 386fe684246738749a18c2a6631d6d8f56216666 /lib/micropython-lib | |
| parent | ca63ead2d8b242296d1fc2f6965e25dfdddeec15 (diff) | |
mimxrt/mphalport: Add a timeout to mp_hal_stdout_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/micropython-lib')
0 files changed, 0 insertions, 0 deletions
