Remove warnings

This commit is contained in:
Terrence
2025-05-07 04:40:17 +08:00
parent d505b3b1ae
commit 4be2464fbc

View File

@ -131,8 +131,6 @@ bool Ota::CheckVersion() {
if (timeout_ms != NULL) { if (timeout_ms != NULL) {
activation_timeout_ms_ = timeout_ms->valueint; activation_timeout_ms_ = timeout_ms->valueint;
} }
} else {
ESP_LOGW(TAG, "No activation code found !");
} }
has_mqtt_config_ = false; has_mqtt_config_ = false;
@ -149,7 +147,7 @@ bool Ota::CheckVersion() {
} }
has_mqtt_config_ = true; has_mqtt_config_ = true;
} else { } else {
ESP_LOGW(TAG, "No mqtt section found !"); ESP_LOGI(TAG, "No mqtt section found !");
} }
has_websocket_config_ = false; has_websocket_config_ = false;
@ -166,7 +164,7 @@ bool Ota::CheckVersion() {
} }
has_websocket_config_ = true; has_websocket_config_ = true;
} else { } else {
ESP_LOGW(TAG, "No websocket section found!"); ESP_LOGI(TAG, "No websocket section found!");
} }
has_server_time_ = false; has_server_time_ = false;