Changed mqtt disconnect to avoid exception

This commit is contained in:
Gunnar Skjold
2023-12-24 06:59:40 +01:00
parent 1775d0abce
commit 4c28d512a1
2 changed files with 16 additions and 23 deletions

View File

@@ -50,6 +50,7 @@ public:
protected:
RemoteDebug* debugger;
MqttConfig mqttConfig;
bool mqttConfigChanged = true;
MQTTClient mqtt = MQTTClient(256);
unsigned long lastMqttRetry = -10000;
bool caVerification = true;