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:
Ewoud
2023-02-12 11:28:38 +01:00
parent b02192e359
commit 6c52a3d940
9 changed files with 2216 additions and 2167 deletions

View File

@@ -183,8 +183,10 @@ void WLED::loop()
yield();
serializeConfig();
}
//WLEDMM refactored
if (loadLedmap) {
strip.deserializeMap(loadedLedmap);
strip.enumerateLedmaps(); //WLEDMM
loadLedmap = false;
}