Adjustment

This commit is contained in:
Gunnar Skjold
2024-03-26 13:39:29 +01:00
parent 67e6a51a8a
commit 766849d6fc

View File

@@ -89,10 +89,6 @@ bool WiFiClientConnectionHandler::connect(NetworkConfig config, SystemConfig sys
wifi_set_user_limit_rate_mask(LIMIT_RATE_MASK_ALL);
}
#endif
#if defined(ESP32)
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
#endif
WiFi.setAutoReconnect(true);
#if defined(ESP32)
if(begin(config.ssid, config.psk)) {