esp_rom: fix esp32s3 rom ets_printf bug

This commit is contained in:
jiangguangming
2022-10-26 14:30:22 +08:00
parent 4830bcc777
commit a1e6f1dada
5 changed files with 7 additions and 7 deletions

View File

@@ -44,12 +44,7 @@ void bootloader_console_init(void)
{
const int uart_num = CONFIG_ESP_CONSOLE_UART_NUM;
#if !ESP_ROM_SUPPORT_MULTIPLE_UART
/* esp_rom_install_channel_put is not available unless multiple UARTs are supported */
esp_rom_install_uart_printf();
#else
esp_rom_install_channel_putc(1, esp_rom_uart_putc);
#endif
// Wait for UART FIFO to be empty.
esp_rom_uart_tx_wait_idle(0);