mirror of
https://github.com/wled/WLED.git
synced 2025-07-15 14:56:32 +00:00
Merge pull request #4341 from Aircoookie/hotfix_4335
Hotfix for #4335 - solves missed pixel problem in blends effect
This commit is contained in:
commit
a0f99393f5
@ -4497,7 +4497,7 @@ uint16_t mode_blends(void) {
|
|||||||
unsigned offset = 0;
|
unsigned offset = 0;
|
||||||
for (unsigned i = 0; i < SEGLEN; i++) {
|
for (unsigned i = 0; i < SEGLEN; i++) {
|
||||||
SEGMENT.setPixelColor(i, pixels[offset++]);
|
SEGMENT.setPixelColor(i, pixels[offset++]);
|
||||||
if (offset > pixelLen) offset = 0;
|
if (offset >= pixelLen) offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FRAMETIME;
|
return FRAMETIME;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user