Skip to content

Commit d915385

Browse files
committed
bugfix: avoid effect speedups during transitions
1 parent 6caa9d7 commit d915385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX_fcn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ void WS2812FX::service() {
19321932

19331933
if (frameDelay < speedLimit) frameDelay = FRAMETIME; // WLEDMM limit effects that want to go faster than target FPS
19341934
if (seg.mode != FX_MODE_HALLOWEEN_EYES) seg.call++;
1935-
if (seg.transitional && frameDelay > FRAMETIME) frameDelay = FRAMETIME; // force faster updates during transition
1935+
if (seg.transitional && frameDelay > FRAMETIME_FIXED) frameDelay = FRAMETIME_FIXED; // force faster updates during transition // WLEDMM only if effect requested very slow updates
19361936

19371937
seg.lastBri = seg.currentBri(seg.on ? seg.opacity:0); // WLEDMM remember for next time
19381938
seg.handleTransition();

0 commit comments

Comments
 (0)