Stupid bugfix.

This commit is contained in:
Blaz Kristan 2021-11-19 22:16:08 +01:00
parent 44467971f2
commit 7871e868a9

View File

@ -830,9 +830,12 @@ void serializeModeData(JsonObject root)
insideQuotes = !insideQuotes;
break;
case '[':
if (insideQuotes) lineBuffer += singleJsonSymbol;
break;
case ']':
if (insideQuotes) {lineBuffer += singleJsonSymbol; break;}
case ',':
if (insideQuotes) {lineBuffer += singleJsonSymbol; break;}
if (lineBuffer.length() > 0) {
uint8_t endPos = lineBuffer.indexOf('@');
if (endPos>0) fxdata.add(lineBuffer.substring(endPos));