This commit is contained in:
mherweg 2020-12-21 21:04:21 +01:00
parent f7893d4e4b
commit c315c04b9a

View File

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