feature/http_call_send_json #3
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