revert commit #9c992d8

This commit is contained in:
MichaelDvP
2026-08-12 08:54:05 +02:00
parent 982b0f304e
commit 95a8b78d1d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;