mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Add WiFi All Channel Scan
This commit is contained in:
parent
60a6a3d1d6
commit
3168714bc3
@ -507,6 +507,7 @@ void wifiSetup()
|
|||||||
preferences.end();
|
preferences.end();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
|
||||||
wifiReconnect();
|
wifiReconnect();
|
||||||
WiFi.setAutoReconnect(false); // done in wifiEvery5Seconds
|
WiFi.setAutoReconnect(false); // done in wifiEvery5Seconds
|
||||||
LOG_TRACE(TAG_WIFI, F(D_WIFI_CONNECTING_TO), wifiSsid);
|
LOG_TRACE(TAG_WIFI, F(D_WIFI_CONNECTING_TO), wifiSsid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user