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) {
22
22
23
23
// Extracts a network configuration structure from a JSON variant
24
24
void 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 ));
27
27
}
28
28
29
29
// Converts a secretsConfig structure to a JSON variant
@@ -83,4 +83,4 @@ void convertFromJson(JsonVariantConst src, displayConfig &dst) {
83
83
dst.height = src[" height" ] | 64 ;
84
84
dst.rotation = src[" rotation" ] | 0 ;
85
85
dst.spiConfig = src[" spi_config" ];
86
- }
86
+ }
You can’t perform that action at this time.
0 commit comments