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... ");
|
MessageOutput.print("new credentials... ");
|
||||||
WiFi.begin(
|
WiFi.begin(
|
||||||
Configuration.get().WiFi.Ssid,
|
Configuration.get().WiFi.Ssid,
|
||||||
Configuration.get().WiFi.Password,
|
Configuration.get().WiFi.Password);
|
||||||
WIFI_ALL_CHANNEL_SCAN);
|
|
||||||
} else {
|
} else {
|
||||||
MessageOutput.print("existing credentials... ");
|
MessageOutput.print("existing credentials... ");
|
||||||
WiFi.begin();
|
WiFi.begin();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user