aboutsummaryrefslogtreecommitdiff
path: root/examples/std
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2023-01-04 16:40:54 +0100
committerTimo Kröger <[email protected]>2023-01-04 16:53:43 +0100
commit840a75674b632485d5b45cfece27870ded0edfcd (patch)
tree601ddeda75fa7293fcab49dc6fc96794fe3dbf3b /examples/std
parenta24037edf9d04087111c1d1dc71c92cc0ad83709 (diff)
rp: Disable RX interrupts when ring buffer is full
When data is in the RX fifo the RX timeout interrupt goes high again even after clearing it. The result is a deadlock because execution is stuck in the interrupt handler. No other code can run to clear the receive buffer. Enable and disable RX interrupts based on the buffer fill level. Use the same approach for the TX code path.
Diffstat (limited to 'examples/std')
0 files changed, 0 insertions, 0 deletions