Merge pull request #1551 from mherweg/master

minor bugfix for https://github.com/Aircoookie/WLED/issues/1525
This commit is contained in:
Aircoookie 2020-12-21 21:46:45 +01:00 committed by GitHub
commit af48dcd884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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