uart: fix misleading files for UART2

Includes: header files, ld files and clk.c

ESP32-C3 only have UART0 and UART1.
This commit is contained in:
Michael (XIAO Xufeng)
2021-04-26 12:31:53 +08:00
parent 835a652a63
commit a0d13a31ec
5 changed files with 10 additions and 17 deletions

View File

@@ -260,7 +260,7 @@ void uart_tx_flush(uint8_t uart_no);
/**
* @brief Wait until uart tx full empty and the last char send ok.
*
* @param uart_no : 0 for UART0, 1 for UART1, 2 for UART2
* @param uart_no : 0 for UART0, 1 for UART1
*
* The function defined in ROM code has a bug, so we define the correct version
* here for compatibility.