We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eab1e7 commit 7fd2393Copy full SHA for 7fd2393
wled00/cfg.cpp
@@ -67,7 +67,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
67
//int ap_pskl = ap[F("pskl")];
68
69
CJSON(apChannel, ap[F("chan")]);
70
- if (apChannel > 13 || apChannel < 1) apChannel = 1;
+ if (apChannel > 13 || apChannel < 1) apChannel = 6; // reset to default if invalid
71
72
CJSON(apHide, ap[F("hide")]);
73
if (apHide > 1) apHide = 1;
0 commit comments