This patch fixes drain of data left in UART Rx fifo. uart_irq_tx_ready checks if Rx IRQ has been raised, but because Rx IRQ is disabled this won't work even if there are some data left in the UART buffers. So simply uart_fifo_read is used to discard the data that left in UART buffer. Change-Id: I17f145ba58640650bafd3602412fc75229f39664 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com> |
||
|---|---|---|
| .. | ||
| console_handler_shell.c | ||
| ipm_console_receiver.c | ||
| ipm_console_sender.c | ||
| Kconfig | ||
| Makefile | ||
| ram_console.c | ||
| uart_console.c | ||
| uart_pipe.c | ||