mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 14:57:18 +00:00
Additional fix
This commit is contained in:
parent
22eee967c2
commit
3830d49bf8
@ -106,9 +106,6 @@ bool deserializeSegment(JsonObject elem, byte it, byte presetId)
|
||||
bool transpose = getBoolVal(elem[F("tp")], seg.transpose);
|
||||
#endif
|
||||
|
||||
uint8_t set = elem[F("set")] | seg.set;
|
||||
seg.set = constrain(set, 0, 3);
|
||||
|
||||
int len = 1;
|
||||
if (stop > start) len = stop - start;
|
||||
int offset = elem[F("of")] | INT32_MAX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user