diff --git a/ESP32-Console/main/main.c b/ESP32-Console/main/main.c index a0e67cacc..bb0e2b05a 100755 --- a/ESP32-Console/main/main.c +++ b/ESP32-Console/main/main.c @@ -69,7 +69,8 @@ void app_main(void) //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)); + ESP_ERROR_CHECK(esp_console_new_repl_usb_serial_jtag(&usb_config, &repl_config, &repl)); + //ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl)); //register_commands(); /*