remove tests from example

This commit is contained in:
tablatronix
2018-08-23 15:04:31 -05:00
parent c651ab4b62
commit 51432d0ef7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -284,6 +284,7 @@ class WiFiManager
unsigned long _lastscan = 0; // ms
int _cpclosedelay = 2000; // delay before wifisave, prevents captive portal from closing to fast.
bool _cleanConnect = true; // disconnect before connect in connectwifi, increases stability on connects
bool _disableSTA = false; // disable sta when starting ap, always
bool _disableSTAConn = true; // disable sta when starting ap, if sta is not connected ( stability )
bool _channelSync = false; // use wifi channel when starting ap
@@ -126,8 +126,8 @@ void setup() {
}
// always start configportal for a little while
wm.setConfigPortalTimeout(60);
wm.startConfigPortal("AutoConnectAP","password");
// wm.setConfigPortalTimeout(60);
// wm.startConfigPortal("AutoConnectAP","password");
//if you get here you have connected to the WiFi
Serial.println("connected...yeey :)");