mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	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:
		@@ -191,7 +191,7 @@ int ets_printf(const char *fmt, ...);
 | 
			
		||||
  * @brief  Set the uart channel of ets_printf(uart_tx_one_char).
 | 
			
		||||
  *         ROM will set it base on the efuse and gpio setting, however, this can be changed after booting.
 | 
			
		||||
  *
 | 
			
		||||
  * @param  uart_no : 0 for UART0, 1 for UART1, 2 for UART2.
 | 
			
		||||
  * @param  uart_no : 0 for UART0, 1 for UART1.
 | 
			
		||||
  *
 | 
			
		||||
  * @return None
 | 
			
		||||
  */
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user