From bcf1dd69ff8de10efc987edb16f204fb34a251c8 Mon Sep 17 00:00:00 2001 From: tablatronix Date: Thu, 22 Apr 2021 11:09:19 -0500 Subject: [PATCH] oops, fix comemnt --- WiFiManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WiFiManager.h b/WiFiManager.h index 606b8d7..a236bde 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -236,7 +236,7 @@ class WiFiManager //sets timeout for which to attempt connecting on saves, useful if there are bugs in esp waitforconnectloop void setSaveConnectTimeout(unsigned long seconds); - //sets timeout for which to attempt connecting on saves, useful if there are bugs in esp waitforconnectloop + // lets you disable automatically connecting after save from webportal void setSaveConnect(bool connect = true); // toggle debug output @@ -432,7 +432,7 @@ class WiFiManager unsigned long _startscan = 0; // ms for timing wifi scans int _cpclosedelay = 2000; // delay before wifisave, prevents captive portal from closing to fast. bool _cleanConnect = false; // disconnect before connect in connectwifi, increases stability on connects - bool _connectonsave = true; // connect to wifi when saving creds + bool _connectOnsave = true; // connect to wifi when saving creds 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 same wifi sta channel when starting ap