File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ void convertToJson(const networkConfig &src, JsonVariant dst) {
2222
2323// Extracts a network configuration structure from a JSON variant
2424void convertFromJson (JsonVariantConst src, networkConfig &dst) {
25- strlcpy (dst.ssid , src[" network_ssid" ] | " testvar " , sizeof (dst.ssid ));
26- strlcpy (dst.pass , src[" network_password" ] | " testvar " , sizeof (dst.pass ));
25+ strlcpy (dst.ssid , src[" network_ssid" ] | " unset-ssid " , sizeof (dst.ssid ));
26+ strlcpy (dst.pass , src[" network_password" ] | " " , sizeof (dst.pass ));
2727}
2828
2929// Converts a secretsConfig structure to a JSON variant
@@ -83,4 +83,4 @@ void convertFromJson(JsonVariantConst src, displayConfig &dst) {
8383 dst.height = src[" height" ] | 64 ;
8484 dst.rotation = src[" rotation" ] | 0 ;
8585 dst.spiConfig = src[" spi_config" ];
86- }
86+ }
You can’t perform that action at this time.
0 commit comments