diff --git a/ESP32-Console/main/main.c b/ESP32-Console/main/main.c index 227bb3e0d..bdc9753c8 100755 --- a/ESP32-Console/main/main.c +++ b/ESP32-Console/main/main.c @@ -38,9 +38,9 @@ void app_main(void) esp_console_repl_t *repl = NULL; esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT(); esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT(); + esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT(); initialize_nvs(); - repl_config.prompt = "foxie >"; ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));