Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial/uart_ns16500: poll THRE to determine when data can be written
TEMT is Transmitter Empty bit which is set only when the full FIFO is empty. It makes sense to poll for THRE (Transmitter Holding Register Empty) which is set when UART can buffer new character for transmission (there is room in FIFO). This allows using the FIFO in full. Signed-off-by: Timo Teräs <timo.teras@iki.fi>
- Loading branch information