Fix for "Wifi in station mode sometimes enters loops of repeatedly joining... #420"

Fix for Wifi in station mode sometimes enters loops of repeatedly joining... #420
This commit is contained in:
Jm Casler
2020-09-19 16:38:59 -07:00
parent 945f726b65
commit 464a42258f
4 changed files with 64 additions and 41 deletions

View File

@@ -5,8 +5,8 @@
#include <functional>
#ifdef HAS_WIFI
#include <WiFi.h>
#include <DNSServer.h>
#include <WiFi.h>
#endif
void initWifi();
@@ -14,3 +14,5 @@ void deinitWifi();
bool isWifiAvailable();
void handleDNSResponse();
void reconnectWiFi();