bugfix: avoid effect overspeed during transitions (solves #4446)

this still raises FPS, but only for effects that normally run very slow (solid).
bugfix_4446
Frank 2025-01-10 13:34:50 +01:00 zatwierdzone przez GitHub
rodzic bb0c0af189
commit 402ebb4b1e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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