From 402ebb4b1ece26af9a8fa05b346fa7023b91987c Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:34:50 +0100 Subject: [PATCH] bugfix: avoid effect overspeed during transitions (solves #4446) this still raises FPS, but only for effects that normally run very slow (solid). --- wled00/FX_fcn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index b9a62bb2c..5db01e95d 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -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 }