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:
parent
d485d1b820
commit
96ba58af8c
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user