GEQ: even distribution of bands and small changes
FX.cpp: GEQ: even distribution of bands FX_fcn: tiny change wled.cpp: setupMatrix also if loadedledmap != 0 ws.cpp: replace getLengthTotal by width * height (for ledmaps)
This commit is contained in:
@@ -2092,7 +2092,7 @@ bool WS2812FX::deserializeMap(uint8_t n) {
|
||||
customMappingSize = map.size();
|
||||
customMappingTable = new uint16_t[customMappingSize];
|
||||
|
||||
for (uint16_t i=0; i<MIN(customMappingSize, map.size()); i++)
|
||||
for (uint16_t i=0; i<customMappingSize; i++)
|
||||
customMappingTable[i] = (uint16_t) (map[i]<0 ? 0xFFFFU : map[i]);
|
||||
|
||||
loadedLedmap = n;
|
||||
|
||||
Reference in New Issue
Block a user