Skip to content

Commit a0e0376

Browse files
committed
blends effect bugfix
quick fix for "missing pixel 256" problem
1 parent 9ff235e commit a0e0376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4596,7 +4596,7 @@ uint16_t mode_blends(void) {
45964596
uint16_t offset = 0;
45974597
for (int i = 0; i < SEGLEN; i++) {
45984598
SEGMENT.setPixelColor(i, pixels[offset++]);
4599-
if (offset > pixelLen) offset = 0;
4599+
if (offset >= pixelLen) offset = 0;
46004600
}
46014601

46024602
return FRAMETIME;

0 commit comments

Comments
 (0)