Skip to content

Commit

Permalink
missed a line... waving cell now works again
Browse files Browse the repository at this point in the history
  • Loading branch information
DedeHai committed Nov 23, 2024
1 parent 6be165e commit a0af0f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7672,7 +7672,7 @@ uint16_t mode_2Dwavingcell() {
const int cols = SEG_W;
const int rows = SEG_H;

uint32_t t = strip.now/(257-SEGMENT.speed);
uint32_t t = (strip.now*(SEGMENT.speed + 1))>>3;
uint32_t aX = SEGMENT.custom1/16 + 9;
uint32_t aY = SEGMENT.custom2/16 + 1;
uint32_t aZ = SEGMENT.custom3 + 1;
Expand All @@ -7683,7 +7683,6 @@ uint16_t mode_2Dwavingcell() {
SEGMENT.setPixelColorXY(x, y, ColorFromPalette(SEGPALETTE, colorIndex));
}
}

SEGMENT.blur(SEGMENT.intensity);
return FRAMETIME;
}
Expand Down

0 comments on commit a0af0f0

Please sign in to comment.