whitespace cleanup

This commit is contained in:
Blaž Kristan 2023-01-06 09:24:29 +01:00
parent 98be19b29f
commit 506b6b51ce
40 changed files with 328 additions and 326 deletions

View File

@ -477,15 +477,17 @@ 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;
} }
root["o1"] = seg.check1; #endif
root["o2"] = seg.check2; root["o1"] = seg.check1;
root["o3"] = seg.check3; root["o2"] = seg.check2;
root["si"] = seg.soundSim; root["o3"] = seg.check3;
root["si"] = seg.soundSim;
root["m12"] = seg.map1D2D; root["m12"] = seg.map1D2D;
} }