Tweak app console setup to improve companion connections

- disable regular log output when entering the console
 - disable colour changes for the prompt character
This commit is contained in:
jacqueline
2024-07-03 16:32:08 +10:00
parent 88ac96242f
commit 1b7fb84220
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -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;
}