mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-13 14:51:21 +10:00
remove tests from example
This commit is contained in:
@@ -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 :)");
|
||||
|
||||
Reference in New Issue
Block a user