blends effect bugfix

quick fix for "missing pixel 256" problem
This commit is contained in:
Frank
2024-12-01 20:02:44 +01:00
parent 9ff235e153
commit a0e03766ef

View File

@@ -4596,7 +4596,7 @@ uint16_t mode_blends(void) {
uint16_t offset = 0;
for (int i = 0; i < SEGLEN; i++) {
SEGMENT.setPixelColor(i, pixels[offset++]);
if (offset > pixelLen) offset = 0;
if (offset >= pixelLen) offset = 0;
}
return FRAMETIME;