From 8f6c54fd397f4d216fce8c23e3e5d24e45db3641 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Tue, 19 Nov 2019 23:40:51 -0500 Subject: [PATCH] OTA Strikes again - master Refactor of OTA core underway. Removing verbose logging. Fine tuning. --- components/squeezelite-ota/squeezelite-ota.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/squeezelite-ota/squeezelite-ota.c b/components/squeezelite-ota/squeezelite-ota.c index 4a06275a..169dcc73 100644 --- a/components/squeezelite-ota/squeezelite-ota.c +++ b/components/squeezelite-ota/squeezelite-ota.c @@ -7,7 +7,7 @@ CONDITIONS OF ANY KIND, either express or implied. */ #ifndef LOG_LOCAL_LEVEL -#define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE +#define LOG_LOCAL_LEVEL ESP_LOG_DEBUG #endif #include "freertos/FreeRTOS.h" #include "freertos/task.h" @@ -537,8 +537,6 @@ void RECOVERY_IRAM_FUNCTION ota_task(void *pvParameter) } } _printMemStats(); - ESP_LOGD(TAG, "Writing data len %d", data_read); - ESP_LOGI(TAG, "OTA image magic byte 0x%02x", ota_write_data[0]); err = esp_ota_write( update_handle, (const void *)ota_write_data, data_read); if (err != ESP_OK) { triggerStatusJsonRefresh(true,"Error: OTA Partition write failure. (%s)",esp_err_to_name(err));