mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
WiFiSTA - allow using DHCP again after disconnecting static IP (#9020)
This commit is contained in:
parent
097e59f2e1
commit
0c599ee0dc
@ -400,6 +400,8 @@ bool ESP8266WiFiSTAClass::disconnect(bool wifioff, bool eraseCredentials) {
|
|||||||
WiFi.enableSTA(false);
|
WiFi.enableSTA(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_useStaticIp = false;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user