diff options
author | Peter Hinch <peter@hinch.me.uk> | 2022-03-02 09:19:45 +0000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-04-12 11:39:00 +1000 |
commit | d242a9b7f7b6d4e744889d5af6c17dfb54aed8c3 (patch) | |
tree | 6c105f23c13b09ca2feb38f398caa2eabe314ec2 /py | |
parent | 9d7c168bf5bdf909f77aba4583dbd0739b1373f7 (diff) |
rp2/machine_uart: Use read/write mutex to prevent char duplication.
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.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions