use setAPStaticIPConfig instead of (old?) setAPConfig in first example

This commit is contained in:
Robert Oostenveld
2017-01-07 22:10:00 +01:00
parent 022b15d2c8
commit a231ae5deb
+1 -1
View File
@@ -17,7 +17,7 @@ void setup() {
//wifiManager.resetSettings();
//set custom ip for portal
//wifiManager.setAPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
//wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
//fetches ssid and pass from eeprom and tries to connect
//if it does not connect it starts an access point with the specified name