Set WiFi auto reconnect
This commit is contained in:
parent
78437c9722
commit
53c63da83b
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue