mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2025-05-20 00:28:20 +08:00
Remove warnings
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user