From e50da6db5c3a7e4fec63a9960efb8bc0ea5cc8e6 Mon Sep 17 00:00:00 2001 From: johnny9 <985648+johnny9@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:18:31 -0400 Subject: [PATCH] main: Delay aborting when asicmodel is not correct --- main/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index e98db478..709ced4a 100644 --- a/main/main.c +++ b/main/main.c @@ -52,7 +52,8 @@ void app_main(void) GLOBAL_STATE.ASIC_functions = ASIC_functions; } else { - ESP_LOGE(TAG, "Unable to determine ASIC model. Please make sure the model has been written into NVS."); + ESP_LOGE(TAG, "Unable to determine ASIC model. Please make sure the model has been written into NVS at main/asicmodel."); + vTaskDelay(10000 / portTICK_PERIOD_MS); exit(EXIT_FAILURE); }