Compare commits

..

No commits in common. "88e480716a16b99018c02b2776dba495f3a6e873" and "c9e366b54259e34f33afe25b1b77a69c09a68933" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -40,9 +40,9 @@ void saveConfigCallback () {
void setupWifiConnection() { void setupWifiConnection() {
WiFiManager wifiManager; WiFiManager wifiManager;
//set config save notify callback
wifiManager.setSaveConfigCallback(saveConfigCallback); wifiManager.setSaveConfigCallback(saveConfigCallback);
wifiManager.setConfigPortalTimeout(300);
//set static ip //set static ip
IPAddress _ip,_gw,_sn; IPAddress _ip,_gw,_sn;
_ip.fromString(static_ip); _ip.fromString(static_ip);