kopia lustrzana https://github.com/Aircoookie/WLED
Merge pull request #4341 from Aircoookie/hotfix_4335
Hotfix for #4335 - solves missed pixel problem in blends effectpull/4316/head
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;
|
||||||
|
|
Ładowanie…
Reference in New Issue