From 47d7baaf5fcaf56ddad2a9e12830288802ee7507 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Tue, 25 Feb 2020 12:26:31 -0500 Subject: [PATCH] adjust grace period before reboot after success flash --- components/squeezelite-ota/squeezelite-ota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/squeezelite-ota/squeezelite-ota.c b/components/squeezelite-ota/squeezelite-ota.c index aa44fb24..8b48e840 100644 --- a/components/squeezelite-ota/squeezelite-ota.c +++ b/components/squeezelite-ota/squeezelite-ota.c @@ -593,7 +593,7 @@ void ota_task(void *pvParameter) if (err == ESP_OK) { ESP_LOGI(TAG,"OTA Process completed successfully!"); sendMessaging(MESSAGING_INFO,"Success!"); - vTaskDelay(1500/ portTICK_PERIOD_MS); // wait here to give the UI a chance to refresh + vTaskDelay(1000/ portTICK_PERIOD_MS); // wait here to give the UI a chance to refresh esp_restart(); } else { ota_task_cleanup("Error: Unable to update boot partition [%s]",esp_err_to_name(err));