From 1b7fb84220222a447b18b760a4d8437587b46c2a Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 3 Jul 2024 16:32:08 +1000 Subject: Tweak app console setup to improve companion connections - disable regular log output when entering the console - disable colour changes for the prompt character --- lib/console/esp_console_repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/console/esp_console_repl.c') diff --git a/lib/console/esp_console_repl.c b/lib/console/esp_console_repl.c index bbc49ed9..119c4c9d 100644 --- a/lib/console/esp_console_repl.c +++ b/lib/console/esp_console_repl.c @@ -333,7 +333,7 @@ static esp_err_t esp_console_setup_prompt(const char *prompt, esp_console_repl_c if (prompt) { prompt_temp = prompt; } - snprintf(repl_com->prompt, CONSOLE_PROMPT_MAX_LEN - 1, LOG_COLOR_I "%s " LOG_RESET_COLOR, prompt_temp); + snprintf(repl_com->prompt, CONSOLE_PROMPT_MAX_LEN - 1, "%s ", prompt_temp); return ESP_OK; } -- cgit v1.2.3