enable default static IP if there are no ip in fram
This commit is contained in:
parent
5bce34bc5e
commit
85f789e216
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#define SDK_VESRION "2.9.7"
|
||||
#define SDK_VESRION "2.9.8"
|
|
@ -639,6 +639,7 @@ void ESPMegaIoT::loadNetworkConfig()
|
|||
network_config.gateway = IPAddress(192, 168, 0, 1);
|
||||
network_config.subnet = IPAddress(255, 255, 255, 0);
|
||||
network_config.dns1 = IPAddress(1, 1, 1, 1);
|
||||
network_config.useStaticIp = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue