diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-07-03 16:32:08 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-07-03 16:32:08 +1000 |
| commit | 1b7fb84220222a447b18b760a4d8437587b46c2a (patch) | |
| tree | 52f2fe4392f6c7349069fb7de81bd6dd2d338ec0 /lib/console | |
| parent | 88ac96242f0d36e53876ece9f90baf776616f0bc (diff) | |
| download | tangara-fw-1b7fb84220222a447b18b760a4d8437587b46c2a.tar.gz | |
Tweak app console setup to improve companion connections
- disable regular log output when entering the console
- disable colour changes for the prompt character
Diffstat (limited to 'lib/console')
| -rw-r--r-- | lib/console/esp_console_repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
