Added missing network configuration init code.
This commit is contained in:
parent
94a1e785f1
commit
bcda387d26
1 changed files with 7 additions and 0 deletions
|
@ -329,6 +329,13 @@ void wifiConnect()
|
|||
|
||||
#else // DISABLE_WIFIMANAGER
|
||||
|
||||
if (!WiFi.config(local_IP, gateway, subnet))
|
||||
{
|
||||
debug("Failed to set IP configuration");
|
||||
} else {
|
||||
debug("Successful set IP configuration");
|
||||
}
|
||||
|
||||
WiFi.begin(WIFI_SSID, WIFI_PASSWD);
|
||||
|
||||
debug("Connecting to WLAN");
|
||||
|
|
Loading…
Reference in a new issue