mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
Before this commit the UART would only work in very simple use cases. Receiving large amounts of data would result in lost bytes. Plus the print function would crash due to `uart_config_get()` returning incorrect values. Additionally, receiving data with `timeout==0` would fail even if data was already available in the internal UART Rx FIFO. This commit fixes those issues. The non-implemented functions have also been made usable. Signed-off-by: Daniel Campora <danicampora@gmail.com>
11 KiB
11 KiB