Skip to content

Commit

Permalink
bugfix: avoid effect overspeed during transitions (solves #4446)
Browse files Browse the repository at this point in the history
this still raises FPS, but only for effects that normally run very slow (solid).
  • Loading branch information
softhack007 authored Jan 10, 2025
1 parent bb0c0af commit 402ebb4
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 @@ -1388,7 +1388,7 @@ void WS2812FX::service() {
}
#endif
seg.call++;
if (seg.isInTransition() && frameDelay > FRAMETIME) frameDelay = FRAMETIME; // force faster updates during transition
if (seg.isInTransition() && frameDelay > FRAMETIME_FIXED) frameDelay = FRAMETIME_FIXED; // force faster updates during transition, if requested time is below 40 fps
BusManager::setSegmentCCT(oldCCT); // restore old CCT for ABL adjustments
}

Expand Down

0 comments on commit 402ebb4

Please sign in to comment.