File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,11 @@ void WipperSnapper_LittleFS::parseSecrets() {
67
67
fsHalt (String (" ERROR: deserializeJson() failed with code " ) +
68
68
error.c_str ());
69
69
}
70
-
71
70
if (doc.containsKey (" network_type_wifi" )) {
72
71
// set default network config
73
72
convertFromJson (doc[" network_type_wifi" ], WS._config .network );
74
73
75
- if (!doc[" network_type_wifi" ].containsKey (" alternate_networks " )) {
74
+ if (!doc[" network_type_wifi" ].containsKey (" alternative_networks " )) {
76
75
// do nothing extra, we already have the only network
77
76
WS_DEBUG_PRINTLN (" Found single wifi network in secrets.json" );
78
77
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ void Wippersnapper_FS::parseSecrets() {
355
355
// set default network config
356
356
convertFromJson (doc[" network_type_wifi" ], WS._config .network );
357
357
358
- if (!doc[" network_type_wifi" ].containsKey (" alternate_networks " )) {
358
+ if (!doc[" network_type_wifi" ].containsKey (" alternative_networks " )) {
359
359
// do nothing extra, we already have the only network
360
360
WS_DEBUG_PRINTLN (" Found single wifi network in secrets.json" );
361
361
You can’t perform that action at this time.
0 commit comments