Additional fix

This commit is contained in:
Blaž Kristan 2025-03-13 16:35:54 +01:00
parent 22eee967c2
commit 3830d49bf8

View File

@ -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;