diff --git a/tools/cdata.js b/tools/cdata.js index 30f15621..55b04e13 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -400,6 +400,13 @@ const char PAGE_dmxmap[] PROGMEM = R"=====()====="; method: "gzip", filter: "html-minify", }, + //WLEDMM + { + file: "peek.js", + name: "PAGE_peekJs", + method: "gzip", + filter: "js-minify", + }, { file: "404.htm", name: "PAGE_404", diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index 3c771df3..0455bc03 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -1973,8 +1973,8 @@ void WS2812FX::deserializeMap(uint8_t n) { } if (!isFile) { - // erase custom mapping if selecting nonexistent ledmap.json (n==0) - if (!n && customMappingTable != nullptr) { + // erase custom mapping if selecting nonexistent ledmap.json (n==0) //WLEDM always erase if nonexistant + if (customMappingTable != nullptr) { //WLEDMM: if isMatrix then not erase but back to matrix default if (isMatrix) setUpMatrix(true); diff --git a/wled00/data/index.htm b/wled00/data/index.htm index 2f732c54..c975522d 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -6,6 +6,7 @@ +