Bugfix for effect names.

This commit is contained in:
Blaz Kristan 2021-11-20 18:28:59 +01:00
parent 6f600f74af
commit 856c8aa611

View File

@ -870,6 +870,7 @@ void serializeModeNames(JsonArray arr, const char *qstring) {
break; break;
case ']': case ']':
case ',': case ',':
if (insideQuotes) break;
if (lineBuffer.length() > 0) { if (lineBuffer.length() > 0) {
uint8_t endPos = lineBuffer.indexOf('@'); uint8_t endPos = lineBuffer.indexOf('@');
if (endPos>0) arr.add(lineBuffer.substring(0,endPos)); if (endPos>0) arr.add(lineBuffer.substring(0,endPos));