Skip to content

Commit d58cb49

Browse files
committed
fix for realtime mode with "use main segment only"
1 parent 4116785 commit d58cb49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wled00/udp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ void realtimeLock(uint32_t timeoutMs, byte md)
201201
if (realtimeOverride) return;
202202
if (arlsForceMaxBri) strip.setBrightness(scaledBri(255), true);
203203
if (briT > 0 && md == REALTIME_MODE_GENERIC) strip.show();
204+
205+
if (realtimeMode && !realtimeOverride && useMainSegmentOnly) strip.getMainSegment().startFrame(); // WLEDMM make sure the main segment is ready for drawing
204206
}
205207

206208
void exitRealtime() {

0 commit comments

Comments
 (0)