1
0
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:
Juraj Andrássy 2023-11-10 10:54:17 +01:00 committed by GitHub
parent 097e59f2e1
commit 0c599ee0dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,6 +400,8 @@ bool ESP8266WiFiSTAClass::disconnect(bool wifioff, bool eraseCredentials) {
WiFi.enableSTA(false);
}
_useStaticIp = false;
return ret;
}