kopia lustrzana https://github.com/Aircoookie/WLED
bugfix: avoid effect overspeed during transitions (solves #4446)
this still raises FPS, but only for effects that normally run very slow (solid).bugfix_4446
rodzic
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
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue