remove wifi full scan, dev.6

This commit is contained in:
MichaelDvP
2025-04-04 08:21:22 +02:00
parent de2f3e712d
commit e72afc9065
2 changed files with 4 additions and 6 deletions

View File

@@ -37,11 +37,9 @@ void NetworkSettingsService::begin() {
WiFi.mode(WIFI_MODE_MAX);
WiFi.mode(WIFI_MODE_NULL);
// scan settings give connect issues with arduino 2.0.14 and arduino 3.x.x
#if ESP_ARDUINO_VERSION_MAJOR < 3
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN); // default is FAST_SCAN
// WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL); // is default, no need to set
#endif
// scan settings give connect issues since arduino 2.0.14 and arduino 3.x.x with some wifi systems
// WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN); // default is FAST_SCAN
// WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL); // is default, no need to set
_fsPersistence.readFromFS();
}