mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-29 05:24:56 +02:00
Fix: Wifi.begin was called with wrong parameters
The third parameter should be a optional channel name and not a scan method. There exists a separate method for the scan method.
This commit is contained in:
@@ -287,8 +287,7 @@ void NetworkSettingsClass::applyConfig()
|
||||
MessageOutput.print("new credentials... ");
|
||||
WiFi.begin(
|
||||
Configuration.get().WiFi.Ssid,
|
||||
Configuration.get().WiFi.Password,
|
||||
WIFI_ALL_CHANNEL_SCAN);
|
||||
Configuration.get().WiFi.Password);
|
||||
} else {
|
||||
MessageOutput.print("existing credentials... ");
|
||||
WiFi.begin();
|
||||
|
||||
Reference in New Issue
Block a user