summaryrefslogtreecommitdiff
path: root/lib/micropython-lib
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-10-16 12:28:05 +0200
committerDamien George <damien@micropython.org>2022-11-09 11:16:25 +1100
commit5d473d309396942092077f4917be3e044c9a6c39 (patch)
tree386fe684246738749a18c2a6631d6d8f56216666 /lib/micropython-lib
parentca63ead2d8b242296d1fc2f6965e25dfdddeec15 (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