mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3
This commit is contained in:
parent
d4f0b77d29
commit
b19f9242d7
@ -224,7 +224,7 @@ void IRAM_ATTR call_start_cpu1(void)
|
||||
#if CONFIG_ESP_CONSOLE_NONE
|
||||
esp_rom_install_channel_putc(1, NULL);
|
||||
esp_rom_install_channel_putc(2, NULL);
|
||||
#else // CONFIG_ESP_CONSOLE_NONE
|
||||
#elif !CONFIG_ESP_CONSOLE_USB_CDC
|
||||
esp_rom_install_uart_printf();
|
||||
esp_rom_output_set_as_console(CONFIG_ESP_CONSOLE_ROM_SERIAL_PORT_NUM);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user