extra debug message when Segment::setUp cannot get the mutex

This commit is contained in:
Frank
2025-12-22 00:59:57 +01:00
parent bf6dbf0da4
commit cb94cfafae

View File

@@ -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; if (ofs < UINT16_MAX) offset = ofs;
esp32SemGive(segmentMux); esp32SemGive(segmentMux);
} else {
DEBUG_PRINTLN(F("Segment::setUp: Failed to acquire segmentMux, skipping bounds update."));
boundsUnchanged = true;
} }
if (!boundsUnchanged) { if (!boundsUnchanged) {