Set WiFi auto reconnect

This commit is contained in:
Djuri Baars 2023-11-12 13:43:26 +01:00
parent 78437c9722
commit 53c63da83b

View file

@ -119,6 +119,8 @@ void tryImprovSetup()
} }
else else
{ {
WiFi.setAutoConnect(true);
WiFi.setAutoReconnect(true);
WiFi.begin(); WiFi.begin();
while (WiFi.status() != WL_CONNECTED) while (WiFi.status() != WL_CONNECTED)