From 8a5ccd7b7ca5874bd9be1c3e34c43c3ac08f7f57 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Wed, 2 Oct 2019 12:31:16 -0400 Subject: [PATCH] Reduce OTA wait time for status update --- 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 a227f729..7d783345 100644 --- a/components/squeezelite-ota/squeezelite-ota.c +++ b/components/squeezelite-ota/squeezelite-ota.c @@ -79,7 +79,7 @@ void triggerStatusJsonRefresh(bool bDelay,const char * status, ...){ wifi_manager_refresh_ota_json(); if(bDelay){ ESP_LOGD(TAG,"Holding task..."); - vTaskDelay(1500 / portTICK_PERIOD_MS); // wait here for a short amount of time. This will help with refreshing the UI status + vTaskDelay(700 / portTICK_PERIOD_MS); // wait here for a short amount of time. This will help with refreshing the UI status ESP_LOGD(TAG,"Done holding task..."); } else