mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
fix breakafterconfig
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ boolean WiFiManager::startConfigPortal(char const *apName, char const *apPasswo
|
||||
// check if timed out
|
||||
if(configPortalHasTimeout()) return stopConfigPortal();
|
||||
ret = handleConfigPortal();
|
||||
if(ret == WL_CONNECTED) return true;
|
||||
if(ret == WL_CONNECTED || ret == WL_CONNECT_FAILED) return ret;
|
||||
yield();
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user