This commit is contained in:
tablatronix
2020-12-01 11:33:44 -06:00
parent 12c114d11b
commit fc48649129
+3 -1
View File
@@ -1140,7 +1140,9 @@ bool WiFiManager::WiFi_scanNetworks(bool force,bool async){
else{
res = WiFi.scanNetworks();
}
if(res == WIFI_SCAN_FAILED) DEBUG_WM(DEBUG_ERROR,"[ERROR] scan failed");
if(res == WIFI_SCAN_FAILED){
DEBUG_WM(DEBUG_ERROR,"[ERROR] scan failed");
}
else if(res == WIFI_SCAN_RUNNING){
DEBUG_WM(DEBUG_ERROR,"[ERROR] scan waiting");
while(WiFi.scanComplete() == WIFI_SCAN_RUNNING){