mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 13:37:03 +03:00
Reduce OTA wait time for status update
This commit is contained in:
@@ -79,7 +79,7 @@ void triggerStatusJsonRefresh(bool bDelay,const char * status, ...){
|
|||||||
wifi_manager_refresh_ota_json();
|
wifi_manager_refresh_ota_json();
|
||||||
if(bDelay){
|
if(bDelay){
|
||||||
ESP_LOGD(TAG,"Holding task...");
|
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...");
|
ESP_LOGD(TAG,"Done holding task...");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user