mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Minore FW Tweeks
This commit is contained in:
1 parent
563999e92d
commit
3bca87a4b3
2 files changed
+45
-33
No files matched your search
+2
-1
@@ -133,7 +133,8 @@ void setStaticIp(String IpAddress, String subnet, String gateway){
|
||||
if (
|
||||
staticIpAddress.fromString(ipAddress) &&
|
||||
subnetIpAddress.fromString(subnet) &&
|
||||
gatewayIpAddress.fromString(gateway)
|
||||
gatewayIpAddress.fromString(gateway) &&
|
||||
WiFi.localIP() != staticIpAddress
|
||||
) {
|
||||
WiFi.config(staticIpAddress, subnetIpAddress, gatewayIpAddress);
|
||||
Serial.print("STATIC IP address:\t");
|
||||
Reference in new issue
Block a user