Tido Klaassen 93ff68e75a serial: Prevent RX stall
Re-check RX queue status after uart_enablerxint() and before blocking
the reading task on the receive semaphore. cdcacm (and maybe other UART
drivers) can push buffered data into the receive queue during
uart_enablerxint(), leading to a blocked task while data is already
available.

Signed-off-by: Tido Klaassen <tido@4gh.eu>
2020-11-20 04:16:35 -08:00
..
2020-10-29 01:12:43 -07:00
2020-11-08 18:58:20 +01:00
2020-10-29 01:12:43 -07:00
2020-11-20 04:16:35 -08:00
2020-08-22 17:37:21 -06:00