mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-07 23:25:20 +00:00
`uart_ll_get_txfifo_len` returns the number of bytes available in the TX FIFO; The condition we need is "FIFO empty", not "FIFO has free space". `uart_ll_is_tx_idle` does that, and also ensures that the last character popped from the TX FIFO has been fully transmitted.
24 KiB
24 KiB