From 94529cd08b5d956f3ca015bb4b6fd0226ee43143 Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Fri, 3 Nov 2023 22:18:26 -0500 Subject: [PATCH] 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 --- WiFiManager.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/WiFiManager.h b/WiFiManager.h index 095859f..f5c7ae3 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