Skip to content

Commit bde1ac9

Browse files
committed
clarification
bedtime.
1 parent b8c0f8a commit bde1ac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wled00/json.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
548548
#endif
549549

550550
// do not allow changing main segment while in realtime mode (may get odd results else)
551+
// esp32: safe to change MainSegment without having segmentMux - strip.service() is already suspended
551552
if (!realtimeMode) strip.setMainSegmentId(root[F("mainseg")] | strip.getMainSegmentId()); // must be before realtimeLock() if "live"
552553

553554
realtimeOverride = root[F("lor")] | realtimeOverride;

0 commit comments

Comments
 (0)