mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
ble mesh:example:correct repl config prompt
This commit is contained in:
@@ -70,7 +70,13 @@ void app_main(void)
|
|||||||
initialize_filesystem();
|
initialize_filesystem();
|
||||||
repl_config.history_save_path = HISTORY_PATH;
|
repl_config.history_save_path = HISTORY_PATH;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32C3
|
||||||
|
repl_config.prompt = "esp32c3>";
|
||||||
|
#else
|
||||||
repl_config.prompt = "esp32>";
|
repl_config.prompt = "esp32>";
|
||||||
|
#endif
|
||||||
|
|
||||||
// init console REPL environment
|
// init console REPL environment
|
||||||
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user