ble mesh:example:correct repl config prompt

This commit is contained in:
Yuan Hong Hui
2022-01-28 17:06:48 +08:00
parent 3441dd1e98
commit 1b4d9c8b3f

View File

@@ -62,7 +62,17 @@ void app_main(void)
initialize_filesystem();
repl_config.history_save_path = HISTORY_PATH;
#endif
#if CONFIG_IDF_TARGET_ESP32C3
repl_config.prompt = "esp32c3>";
#elif CONFIG_IDF_TARGET_ESP32S3
repl_config.prompt = "esp32s3>";
#elif CONFIG_IDF_TARGET_ESP32H2
repl_config.prompt = "esp32h2>";
#else
repl_config.prompt = "esp32>";
#endif
// init console REPL environment
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));