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:
tablatronix
2023-11-03 22:18:26 -05:00
parent 7d95727761
commit 94529cd08b
+5 -2
View File
@@ -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