From 45e8c63c2c918910d159076a61390d2c4553a08e Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sun, 9 Nov 2025 08:03:10 +0000 Subject: [PATCH] Merge pull request #5031 from wled/add-check-diff Add segment checkmarks to `differs()` check --- wled00/FX_fcn.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index d9417063..9d47b804 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -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;