mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
fixes #1379
This commit is contained in:
@@ -516,6 +516,7 @@ bool WiFiManager::startAP(){
|
||||
*/
|
||||
void WiFiManager::startWebPortal() {
|
||||
if(configPortalActive || webPortalActive) return;
|
||||
connect = abort = false;
|
||||
setupConfigPortal();
|
||||
webPortalActive = true;
|
||||
}
|
||||
|
||||
+2
-2
@@ -646,8 +646,8 @@ class WiFiManager
|
||||
String getInfoData(String id);
|
||||
|
||||
// flags
|
||||
boolean connect;
|
||||
boolean abort;
|
||||
boolean connect = false;
|
||||
boolean abort = false;
|
||||
boolean reset = false;
|
||||
boolean configPortalActive = false;
|
||||
boolean webPortalActive = false;
|
||||
|
||||
Reference in New Issue
Block a user