uart_tx_wait_idle() function
Wait until uart tx full empty and the last char send ok. The function defined in ROM code has a bug, so we define the correct version here for compatibility.
Arguments
uart_no
0 for UART0, 1 for UART1, 2 for UART2
uart_tx_wait_idle() calls 1 function:
![]()
uart_tx_wait_idle()
uart_tx_wait_idle():
![]()
uart_tx_wait_idle()