sync mqtt client with origin

This commit is contained in:
MichaelDvP
2023-09-20 12:17:24 +02:00
parent 9c33b5cb8b
commit bbc5bc8585

View File

@@ -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;
} }