mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-14 22:24:07 +00:00
use http_request for version cache
This commit is contained in:
+1
-1
@@ -504,7 +504,7 @@ void Mqtt::on_disconnect(espMqttClientTypes::DisconnectReason reason) {
|
||||
// MQTT on_connect - when an MQTT connect is established
|
||||
void Mqtt::on_connect() {
|
||||
if (connecting_) {
|
||||
return; // prevent duplicated connections and unsuccessful tries
|
||||
return; // prevent duplicated connections
|
||||
}
|
||||
|
||||
LOG_INFO("MQTT connected");
|
||||
|
||||
Reference in New Issue
Block a user