diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index 3f357daa29..799432cc71 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -2008,6 +2008,9 @@ bool WS2812FX::deserializeMap(unsigned n) { if (customMappingTable) { DEBUG_PRINTF_P(PSTR("ledmap allocated: %uB\n"), sizeof(uint16_t)*getLengthTotal()); + unsigned matrixSize = Segment::maxWidth * Segment::maxHeight; + for (unsigned i = 0; i