Skip to content

Commit

Permalink
bugfix: avoid effect speedups during transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
softhack007 committed Jan 10, 2025
1 parent 6caa9d7 commit d915385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/FX_fcn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ void WS2812FX::service() {

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

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

0 comments on commit d915385

Please sign in to comment.