mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
nother
This commit is contained in:
+3
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user