mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
sync mqtt client with origin
This commit is contained in:
@@ -129,8 +129,6 @@ bool MqttClient::connect() {
|
|||||||
_onError(0, Error::OUT_OF_MEMORY);
|
_onError(0, Error::OUT_OF_MEMORY);
|
||||||
}
|
}
|
||||||
EMC_SEMAPHORE_GIVE();
|
EMC_SEMAPHORE_GIVE();
|
||||||
} else if (_state <= State::connected) { // already connected or connecting
|
|
||||||
result = true;
|
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user