Segment name for ledmap names
index.js: - add ledmapFileNames array and fill with lm.segmentname.json names - use name in dropdowns and in loadmap fcn_declare and util.cpp: move enumerateLedmaps to FX.h and FX_fcn.cpp FX_fcn.cpp: deserializemap: use segment name lednames
This commit is contained in:
@@ -767,7 +767,7 @@ void serializeInfo(JsonObject root)
|
||||
root[F("cpalcount")] = strip.customPalettes.size(); //number of custom palettes
|
||||
|
||||
JsonArray ledmaps = root.createNestedArray(F("maps"));
|
||||
for (size_t i=0; i<10; i++) {
|
||||
for (size_t i=0; i<16; i++) { //WLEDMM include segment name ledmaps
|
||||
if ((ledMaps>>i) & 0x0001) ledmaps.add(i);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user