mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
Duplication of characters is caused by re-entrant calls from separate cores of uart_fill_tx_fifo(). This patch uses a mutex to ensure that a re-entrant execution of the function returns without affecting the UART FIFO. Fixes issues #8344 and #8360.