fix crash when using encrypted connection

This commit is contained in:
technyon
2023-01-28 21:59:35 +01:00
parent daba25657e
commit b11a3329f8
3 changed files with 6 additions and 6 deletions

View File

@@ -264,7 +264,7 @@ bool Network::reconnect()
}
bool connected = _device->mqttConnected();
unsigned long timeout = millis() + 5000;
unsigned long timeout = millis() + 3000;
while(!connected && millis() < timeout)
{