mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-09-13 13:44:10 +00:00
revert commit #9c992d8
This commit is contained in:
+1
-1
@@ -473,7 +473,7 @@ bool Mqtt::get_publish_onchange(uint8_t device_type) {
|
||||
}
|
||||
void Mqtt::on_disconnect(espMqttClientTypes::DisconnectReason reason) {
|
||||
// only show the error once on the first connect failure
|
||||
if (connectcount_) {
|
||||
if (!connecting_) {
|
||||
return;
|
||||
}
|
||||
connecting_ = false;
|
||||
|
||||
Reference in New Issue
Block a user