From cb94cfafae95ab77fc8d37cebfec1e863cdc8dbf Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 22 Dec 2025 00:59:57 +0100 Subject: [PATCH] extra debug message when Segment::setUp cannot get the mutex --- wled00/FX_fcn.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index b4e0894a..8e1dae7e 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -589,6 +589,9 @@ void Segment::setUp(uint16_t i1, uint16_t i2, uint8_t grp, uint8_t spc, uint16_t } if (ofs < UINT16_MAX) offset = ofs; esp32SemGive(segmentMux); + } else { + DEBUG_PRINTLN(F("Segment::setUp: Failed to acquire segmentMux, skipping bounds update.")); + boundsUnchanged = true; } if (!boundsUnchanged) {