mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
turn off preload and async scanning
Until more qa can be done here , I have reports of these causing issues and first scans being empty on latest IDF and chips
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user