diff --git a/WiFiManager.h b/WiFiManager.h index 095859fd..f5c7ae3d 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -621,9 +621,12 @@ class WiFiManager // // preload scanning causes AP to delay showing for users, but also caches and lets the cp load faster once its open // my scan takes 7-10 seconds - boolean _preloadwifiscan = true; // preload wifiscan if true + public: + boolean _preloadwifiscan = false; // preload wifiscan if true unsigned int _scancachetime = 30000; // ms cache time for preload scans - boolean _asyncScan = true; // perform wifi network scan async + boolean _asyncScan = false; // perform wifi network scan async + + private: boolean _autoforcerescan = false; // automatically force rescan if scan networks is 0, ignoring cache