mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
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.