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