Merge pull request #3005 from Aircoookie/whitespace
This commit is contained in:
commit
de4f1d09af
@ -477,11 +477,13 @@ void serializeSegment(JsonObject& root, Segment& seg, byte id, bool forPreset, b
|
|||||||
root["sel"] = seg.isSelected();
|
root["sel"] = seg.isSelected();
|
||||||
root["rev"] = seg.reverse;
|
root["rev"] = seg.reverse;
|
||||||
root["mi"] = seg.mirror;
|
root["mi"] = seg.mirror;
|
||||||
|
#ifndef WLED_DISABLE_2D
|
||||||
if (strip.isMatrix) {
|
if (strip.isMatrix) {
|
||||||
root["rY"] = seg.reverse_y;
|
root["rY"] = seg.reverse_y;
|
||||||
root["mY"] = seg.mirror_y;
|
root["mY"] = seg.mirror_y;
|
||||||
root[F("tp")] = seg.transpose;
|
root[F("tp")] = seg.transpose;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
root["o1"] = seg.check1;
|
root["o1"] = seg.check1;
|
||||||
root["o2"] = seg.check2;
|
root["o2"] = seg.check2;
|
||||||
root["o3"] = seg.check3;
|
root["o3"] = seg.check3;
|
||||||
|
Loading…
Reference in New Issue
Block a user