mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
fixes #1295
This commit is contained in:
@@ -25,7 +25,7 @@ void loop() {
|
||||
WiFiManager wm;
|
||||
|
||||
//reset settings - for testing
|
||||
//wifiManager.resetSettings();
|
||||
//wm.resetSettings();
|
||||
|
||||
// set configportal timeout
|
||||
wm.setConfigPortalTimeout(timeout);
|
||||
|
||||
@@ -41,7 +41,7 @@ void checkButton(){
|
||||
}
|
||||
else{
|
||||
Serial.println("Button Pressed, Stopping Portal");
|
||||
wm.startWebPortal();
|
||||
wm.stopWebPortal();
|
||||
portalRunning = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user