Skip to content

Commit 8c53093

Browse files
committed
Increased WiFi robustness: Explicit connects/reconnects for proper handling of sockets/connections.
1 parent c4ba1ec commit 8c53093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Homie/Boot/BootNormal.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ void BootNormal::_onMqttDisconnected(AsyncMqttClientDisconnectReason reason) {
761761
_advertisementProgress.currentPropertyIndex = 0;
762762
if (!_mqttDisconnectNotified) {
763763
_statsTimer.reset();
764-
Interface::get().getLogger() << F("✖ MQTT disconnected, reason: ") << (int8_t)reason<< endl;
764+
Interface::get().getLogger() << F("✖ MQTT disconnected, reason: ") << (int8_t)reason << endl;
765765
Interface::get().getLogger() << F("Triggering MQTT_DISCONNECTED event...") << endl;
766766
Interface::get().event.type = HomieEventType::MQTT_DISCONNECTED;
767767
Interface::get().event.mqttReason = reason;

0 commit comments

Comments
 (0)