slowMode fix

continue searching for busses in slowMode
This commit is contained in:
Frank
2024-12-20 20:50:17 +01:00
parent 2cff35e26b
commit f24d35e970

View File

@@ -1319,7 +1319,7 @@ void IRAM_ATTR __attribute__((hot)) BusManager::setPixelColor(uint16_t pix, uint
lastend = bstart + b->getLength();
}
b->setPixelColor(pix - bstart, c);
break; // WLEDMM found the right Bus -> so we can stop searching
if (!slowMode) break; // WLEDMM found the right Bus -> so we can stop searching - unless we have busses that overlap
}
}
}