diff --git a/ESP32-Console/main/main.c b/ESP32-Console/main/main.c index a64e68309..a0e67cacc 100755 --- a/ESP32-Console/main/main.c +++ b/ESP32-Console/main/main.c @@ -67,8 +67,9 @@ void app_main(void) repl_config.prompt = "foxie >"; - esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT(); - ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl)); + //esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT(); + esp_console_dev_usb_serial_jtag_config_t usb_config = ESP_CONSOLE_DEV_USB_SERIAL_JTAG_CONFIG_DEFAULT(); + ESP_ERROR_CHECK(esp_console_new_repl_uart(&usb_config, &repl_config, &repl)); //register_commands(); /*