That wifi update didn't go down well.

This commit is contained in:
Thomas Göttgens
2022-11-18 19:37:56 +01:00
parent 990c0119a7
commit 95cc328b5c
3 changed files with 0 additions and 16 deletions

View File

@@ -1,5 +1,4 @@
#include "MQTT.h"
#include "mesh/http/WiFiAPClient.h"
#include "MeshService.h"
#include "NodeDB.h"
#include "PowerFSM.h"
@@ -165,10 +164,6 @@ void MQTT::reconnect()
sendSubscriptions();
} else
DEBUG_MSG("Failed to contact MQTT server...\n");
#if HAS_WIFI && !defined(ARCH_PORTDUINO)
WiFi.disconnect(false, true);
triggerReconnect();
#endif
}
}