This commit is contained in:
tablatronix
2021-09-29 13:46:21 -05:00
parent 654d692025
commit deeff9fa89
2 changed files with 13 additions and 6 deletions
@@ -191,7 +191,10 @@ void setup() {
//if it does not connect it starts an access point with the specified name
//here "AutoConnectAP"
//and goes into a blocking loop awaiting configuration
// use autoconnect, but prevent configportal from auto starting
wm.setEnableConfigPortal(false);
wifiInfo();
if(!wm.autoConnect("WM_AutoConnectAP","12345678")) {