From b3011fce830cfd3848526f292a056e6634438595 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 10 Jan 2025 17:32:08 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ESP32-Console/main/main.c b/ESP32-Console/main/main.c index 1fd070d19..82fcbb12c 100755 --- a/ESP32-Console/main/main.c +++ b/ESP32-Console/main/main.c @@ -36,11 +36,9 @@ void app_main(void) { initialize_nvs(); - console_config->max_cmdline_length = 124; - console_config->max_cmdline_args = 5; - - cmd1->command = 'about'; - cmd1->func = cmd1_func; + esp_console_repl_t *repl = NULL; + esp_console_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT(); + repl_config.prompt = "foxie >"; /* INITIALIZE COMMANDS