Merge pull request #1551 from mherweg/master
minor bugfix for https://github.com/Aircoookie/WLED/issues/1525
This commit is contained in:
commit
af48dcd884
@ -311,11 +311,11 @@ void deserializeConfig() {
|
|||||||
CJSON(DMXStart, dmx[F("start")]);
|
CJSON(DMXStart, dmx[F("start")]);
|
||||||
CJSON(DMXStartLED,dmx[F("start-led")]);
|
CJSON(DMXStartLED,dmx[F("start-led")]);
|
||||||
|
|
||||||
JsonArray dmx_fixmap = dmx.createNestedArray("fixmap");
|
JsonArray dmx_fixmap = dmx[F("fixmap")];
|
||||||
it = 0;
|
it = 0;
|
||||||
for (int i : dmx_fixmap) {
|
for (int i : dmx_fixmap) {
|
||||||
if (it > 14) break;
|
if (it > 14) break;
|
||||||
DMXFixtureMap[i] = i;
|
CJSON(DMXFixtureMap[i],dmx_fixmap[i]);
|
||||||
it++;
|
it++;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user