This commit is contained in:
Shawn A
2021-10-01 21:17:37 -05:00
parent 927e3e8db0
commit 9d061ab24e
2 changed files with 2 additions and 2 deletions
@@ -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;
}
}