Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: serial: nrf uarte: Fix for the RX byte counter
In case of the following sequence of UART events: - UART_ENDRX - UART_RXRDY - TIMER_RXTIMEOUT The application receives one more byte that was received, due to RX counter alignment upon ENDRX event. The proposed fix moves the RX byte counter alignment to the RX timeout event handler. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
- Loading branch information