Merge pull request #5031 from wled/add-check-diff

Add segment checkmarks to `differs()` check
This commit is contained in:
Will Tatam
2025-11-09 08:03:10 +00:00
committed by Frank
parent b2578703b2
commit 45e8c63c2c

View File

@@ -1373,6 +1373,9 @@ uint8_t Segment::differs(Segment& b) const {
if (custom1 != b.custom1) d |= SEG_DIFFERS_FX;
if (custom2 != b.custom2) d |= SEG_DIFFERS_FX;
if (custom3 != b.custom3) d |= SEG_DIFFERS_FX;
if (a.check1 != b.check1) d |= SEG_DIFFERS_FX;
if (a.check2 != b.check2) d |= SEG_DIFFERS_FX;
if (a.check3 != b.check3) d |= SEG_DIFFERS_FX;
if (startY != b.startY) d |= SEG_DIFFERS_BOUNDS;
if (stopY != b.stopY) d |= SEG_DIFFERS_BOUNDS;