Added missing network configuration init code.

This commit is contained in:
Kai Lauterbach 2022-11-02 19:22:05 +01:00
parent 94a1e785f1
commit bcda387d26

View file

@ -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");