diff --git a/src/ota.c b/src/ota.c index d28e015..6735fc7 100644 --- a/src/ota.c +++ b/src/ota.c @@ -218,10 +218,10 @@ void printFreeHeapTask(void *parameter) while (1) { size_t heap = esp_get_free_heap_size(); - ESP_LOGI(jannexTAG, "Biggest free heap Block: %i", heap); - ESP_LOGI(jannexTAG, "Total Free heap: %i", heap_caps_get_free_size(MALLOC_CAP_8BIT)); + // ESP_LOGI(jannexTAG, "Biggest free heap Block: %i", heap); + ESP_LOGI(jannexTAG, "Total Free heap: %i", heap_caps_get_free_size(MALLOC_CAP_8BIT)); - vTaskDelay(500 / portTICK_PERIOD_MS); + vTaskDelay(10000 / portTICK_PERIOD_MS); } } @@ -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 * 30 / portTICK_PERIOD_MS); // wait 30sec minute + vTaskDelay(1000 * 300 / portTICK_PERIOD_MS); // wait 30sec minute // run diagnostic function ... bool diagnostic_is_ok = true; // diagnostic(); if (diagnostic_is_ok)