diff --git a/src/ota.c b/src/ota.c index 6735fc7..e042705 100644 --- a/src/ota.c +++ b/src/ota.c @@ -290,7 +290,7 @@ void checkIfOTAwasSuccessful(void *parameter) if (state == ESP_OTA_IMG_PENDING_VERIFY) { ESP_LOGI(jannexTAG, "ESP_OTA_IMG_PENDING_VERIFY"); - vTaskDelay(1000 * 300 / portTICK_PERIOD_MS); // wait 30sec minute + vTaskDelay(1000 * 20 / portTICK_PERIOD_MS); // wait 20sec minute // run diagnostic function ... bool diagnostic_is_ok = true; // diagnostic(); if (diagnostic_is_ok)