diff options
| author | robert-hh <robert@hammelrath.com> | 2021-07-23 14:04:36 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-07-25 17:48:50 +1000 |
| commit | ee49ae8f82c22b43777aa9e73a1b7a6825304d13 (patch) | |
| tree | 43c1d6418bb089a22f5b3ccaf56822d200dd9418 /py | |
| parent | 2e62e13455780517047c32279fc8bf2812810602 (diff) | |
rp2/machine_uart: Fix read when FIFO has chars but ringbuf doesn't.
Prior to this fix, if the UART hardware FIFO had a few chars but still
below the FIFO trigger threshold, and the ringbuf was empty, the read
function would timeout if timeout==0 (the default timeout).
This fix follows the suggestion of @iabdalkader.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
