You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wled00/FX_fcn.cpp
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1932,7 +1932,9 @@ void WS2812FX::service() {
1932
1932
1933
1933
if (frameDelay < speedLimit) frameDelay = FRAMETIME; // WLEDMM limit effects that want to go faster than target FPS
1934
1934
if (seg.mode != FX_MODE_HALLOWEEN_EYES) seg.call++;
1935
-
if (seg.transitional && frameDelay > FRAMETIME_FIXED) frameDelay = FRAMETIME_FIXED; // force faster updates during transition // WLEDMM only if effect requested very slow updates
1935
+
1936
+
if (seg.transitional && frameDelay > max(int(FRAMETIME), int(FRAMETIME_FIXED)))
1937
+
frameDelay = max(int(FRAMETIME), int(FRAMETIME_FIXED)); // force faster updates during transition // WLEDMM only if effect requested very slow updates
1936
1938
1937
1939
seg.lastBri = seg.currentBri(seg.on ? seg.opacity:0); // WLEDMM remember for next time
0 commit comments