mirror of
https://github.com/wled/WLED.git
synced 2025-07-23 18:56:41 +00:00
Stupid bugfix.
This commit is contained in:
parent
44467971f2
commit
7871e868a9
@ -830,9 +830,12 @@ void serializeModeData(JsonObject root)
|
|||||||
insideQuotes = !insideQuotes;
|
insideQuotes = !insideQuotes;
|
||||||
break;
|
break;
|
||||||
case '[':
|
case '[':
|
||||||
|
if (insideQuotes) lineBuffer += singleJsonSymbol;
|
||||||
break;
|
break;
|
||||||
case ']':
|
case ']':
|
||||||
|
if (insideQuotes) {lineBuffer += singleJsonSymbol; break;}
|
||||||
case ',':
|
case ',':
|
||||||
|
if (insideQuotes) {lineBuffer += singleJsonSymbol; break;}
|
||||||
if (lineBuffer.length() > 0) {
|
if (lineBuffer.length() > 0) {
|
||||||
uint8_t endPos = lineBuffer.indexOf('@');
|
uint8_t endPos = lineBuffer.indexOf('@');
|
||||||
if (endPos>0) fxdata.add(lineBuffer.substring(endPos));
|
if (endPos>0) fxdata.add(lineBuffer.substring(endPos));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user