diff --git a/ESP32-Console/main/main.c b/ESP32-Console/main/main.c index 98c008e5b..4a11478c5 100755 --- a/ESP32-Console/main/main.c +++ b/ESP32-Console/main/main.c @@ -68,13 +68,13 @@ void app_main(void) repl_config.prompt = "foxie >"; //repl_config.max_cmdline_length = CONFIG_CONSOLE_MAX_COMMAND_LINE_LENGTH; -#if CONFIG_ESP_CONSOLE_UART +//#if CONFIG_ESP_CONSOLE_UART 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)); -#elif CONFIG_ESP_CONSOLE_USB_CDC - esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT(); - ESP_ERROR_CHECK(esp_console_new_repl_uart(&cdc_config, &repl_config, &repl)); -#endif +//#elif CONFIG_ESP_CONSOLE_USB_CDC +// esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT(); +// ESP_ERROR_CHECK(esp_console_new_repl_uart(&cdc_config, &repl_config, &repl)); +//#endif register_commands(); /*