Skip to content

Commit

Permalink
turn off preload and async scanning
Browse files Browse the repository at this point in the history
Until more qa can be done here , I have reports of these causing issues and first scans being empty on latest IDF and chips
  • Loading branch information
tablatronix committed Nov 4, 2023
1 parent 7d95727 commit 94529cd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions WiFiManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 94529cd

Please sign in to comment.