Skip to content

Commit

Permalink
Merge pull request Aircoookie#1551 from mherweg/master
Browse files Browse the repository at this point in the history
minor bugfix for Aircoookie#1525
  • Loading branch information
Aircoookie authored Dec 21, 2020
2 parents 058806c + c315c04 commit af48dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wled00/cfg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ void deserializeConfig() {
CJSON(DMXStart, dmx[F("start")]);
CJSON(DMXStartLED,dmx[F("start-led")]);

JsonArray dmx_fixmap = dmx.createNestedArray("fixmap");
JsonArray dmx_fixmap = dmx[F("fixmap")];
it = 0;
for (int i : dmx_fixmap) {
if (it > 14) break;
DMXFixtureMap[i] = i;
CJSON(DMXFixtureMap[i],dmx_fixmap[i]);
it++;
}
#endif
Expand Down Expand Up @@ -691,4 +691,4 @@ void serializeConfigSec() {
File f = WLED_FS.open("/wsec.json", "w");
if (f) serializeJson(doc, f);
f.close();
}
}

0 comments on commit af48dcd

Please sign in to comment.