mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 12:27:17 +00:00
bugfix: avoid effect overspeed during transitions (solves #4446)
this still raises FPS, but only for effects that normally run very slow (solid).
This commit is contained in:
parent
bb0c0af189
commit
402ebb4b1e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user