change rollback time because of start http

master
Jan Umbach 2023-08-15 10:35:24 +02:00
parent 8dab6c3de4
commit 7da00bbc3f
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ void checkIfOTAwasSuccessful(void *parameter)
if (state == ESP_OTA_IMG_PENDING_VERIFY) if (state == ESP_OTA_IMG_PENDING_VERIFY)
{ {
ESP_LOGI(jannexTAG, "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 ... // run diagnostic function ...
bool diagnostic_is_ok = true; // diagnostic(); bool diagnostic_is_ok = true; // diagnostic();
if (diagnostic_is_ok) if (diagnostic_is_ok)