diff --git a/wled00/FX.cpp b/wled00/FX.cpp index e05ce442..ffded2f6 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -5847,7 +5847,7 @@ uint16_t mode_2Dscrollingtext(void) { const int letterHeight = 8; const int yoffset = map(SEGMENT.intensity, 0, 255, -rows/2, rows/2) + (rows-letterHeight)/2; char text[33] = {'\0'}; - if (SEGMENT.name && strlen(SEGMENT.name)) for (int i=0,j=0; i63 && SEGMENT.name[i]<128) text[j++] = SEGMENT.name[i]; + if (SEGMENT.name && strlen(SEGMENT.name)) for (int i=0,j=0; i31 && SEGMENT.name[i]<128) text[j++] = SEGMENT.name[i]; if (!strlen(text) || !strncmp_P(text,PSTR("#DATE"),5) || !strncmp_P(text,PSTR("#TIME"),5)) { // fallback if empty segment name: display date and time char sec[5]; @@ -7264,7 +7264,7 @@ static const char _data_FX_MODE_2DAKEMI[] PROGMEM = "Akemi@Color speed,Dance;Hea ////////////////////////////////////////////////////////////////////////////////////////// // mode data -static const char _data_RESERVED[] PROGMEM = "Reserved"; +static const char _data_RESERVED[] PROGMEM = "RSVD"; // add (or replace reserved) effect mode and data into vector // use id==255 to find unallocatd gaps (with "Reserved" data string) diff --git a/wled00/data/index.js b/wled00/data/index.js index e77d8933..8855c978 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -825,7 +825,7 @@ function populateEffects() let id = ef.id; let nm = ef.name+" "; let fd = ""; - if (ef.name.indexOf("Reserved") < 0) { + if (ef.name.indexOf("RSVD") < 0) { if (Array.isArray(fxdata) && fxdata.length>id) { if (fxdata[id].length==0) fd = ";;!;1d" else fd = fxdata[id].substr(1); diff --git a/wled00/data/simple.js b/wled00/data/simple.js index eb8013f5..582861b0 100644 --- a/wled00/data/simple.js +++ b/wled00/data/simple.js @@ -644,7 +644,7 @@ function populateEffects() for (let i = 0; i < effects.length; i++) { // WLEDSR: add slider and color control to setEffect (used by requestjson) - if (effects[i].name.indexOf("Reserved") < 0) { + if (effects[i].name.indexOf("RSVD") < 0) { var posAt = effects[i].name.indexOf("@"); var extra = ''; if (posAt > 0)