File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ class WiFiSettings
102102 wifiNetwork[" static_ip_config" ] = wifi.staticIPConfig ;
103103
104104 // extended settings
105- JsonUtils::writeIP (root , " local_ip" , wifi.localIP );
106- JsonUtils::writeIP (root , " gateway_ip" , wifi.gatewayIP );
107- JsonUtils::writeIP (root , " subnet_mask" , wifi.subnetMask );
108- JsonUtils::writeIP (root , " dns_ip_1" , wifi.dnsIP1 );
109- JsonUtils::writeIP (root , " dns_ip_2" , wifi.dnsIP2 );
105+ JsonUtils::writeIP (wifiNetwork , " local_ip" , wifi.localIP );
106+ JsonUtils::writeIP (wifiNetwork , " gateway_ip" , wifi.gatewayIP );
107+ JsonUtils::writeIP (wifiNetwork , " subnet_mask" , wifi.subnetMask );
108+ JsonUtils::writeIP (wifiNetwork , " dns_ip_1" , wifi.dnsIP1 );
109+ JsonUtils::writeIP (wifiNetwork , " dns_ip_2" , wifi.dnsIP2 );
110110 }
111111
112112 ESP_LOGV (SVK_TAG, " WiFi Settings read" );
You can’t perform that action at this time.
0 commit comments