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:
Frank 2025-01-10 13:34:50 +01:00 committed by GitHub
parent bb0c0af189
commit 402ebb4b1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}