From 4be2464fbcf3c4501ce3df2bc56aee2a50528271 Mon Sep 17 00:00:00 2001 From: Terrence Date: Wed, 7 May 2025 04:40:17 +0800 Subject: [PATCH] Remove warnings --- main/ota.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main/ota.cc b/main/ota.cc index 12e4f30..5acd528 100644 --- a/main/ota.cc +++ b/main/ota.cc @@ -131,8 +131,6 @@ bool Ota::CheckVersion() { if (timeout_ms != NULL) { activation_timeout_ms_ = timeout_ms->valueint; } - } else { - ESP_LOGW(TAG, "No activation code found !"); } has_mqtt_config_ = false; @@ -149,7 +147,7 @@ bool Ota::CheckVersion() { } has_mqtt_config_ = true; } else { - ESP_LOGW(TAG, "No mqtt section found !"); + ESP_LOGI(TAG, "No mqtt section found !"); } has_websocket_config_ = false; @@ -166,7 +164,7 @@ bool Ota::CheckVersion() { } has_websocket_config_ = true; } else { - ESP_LOGW(TAG, "No websocket section found!"); + ESP_LOGI(TAG, "No websocket section found!"); } has_server_time_ = false;