diff options
author | robert-hh <robert@hammelrath.com> | 2022-11-19 12:43:34 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-12-14 12:42:34 +1100 |
commit | 4199f986ad7873f51aee5e9e51bffead775b06a1 (patch) | |
tree | aa2d7abd0ba63789a06671486336be884d4240b1 /docs/esp32/tutorial | |
parent | fcd1788937c267da7eddea1925391b906a49e9e6 (diff) |
samd/machine_uart: Fix IRQ flag setting and clearing.
Clearing the DRE flag for the transmit interrupt at the end of a
uart.write() also cleared the RXC flag disabling the receive interrupt.
This commit also changes the flag set/clear mechanism in the driver for SPI
as well, even if it did not cause a problem there. But at least it saves a
few bytes of code.
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions