realtime mode bugfixes

- busses: ignore not valid bus instances
- "use main segment only": prevent flickering du to intermitted strip.service().
This commit is contained in:
Frank
2024-12-20 17:47:07 +01:00
parent fd2bce521b
commit 02f51d4582
4 changed files with 12 additions and 2 deletions

View File

@@ -1908,7 +1908,7 @@ void WS2812FX::service() {
if(nowUp >= seg.next_time || _triggered || (doShow && seg.mode == FX_MODE_STATIC)) // WLEDMM ">=" instead of ">"
{
if (seg.grouping == 0) seg.grouping = 1; //sanity check
doShow = true;
if (!seg.freeze) doShow = true;
uint16_t frameDelay = FRAMETIME; // WLEDMM avoid name clash with "delay" function
if (!seg.freeze) { //only run effect function if not frozen