Skip to content

Commit

Permalink
effects/matrix/PatternSpiro.h
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlipe committed Jul 30, 2023
1 parent 9ce756f commit e1f3257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/effects/matrix/PatternSpiro.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class PatternSpiro : public LEDStripEffect
CRGB color = graphics->ColorFromCurrentPalette(hueoffset + i * spirooffset, 128);
graphics->leds[graphics->xy(x2, y2)] += color;

if ((x2 == MATRIX_CENTER_X && y2 == MATRIX_CENTER_Y) || (x2 == MATRIX_CENTER_X && y2 == MATRIX_CENTER_Y))
if (x2 == MATRIX_CENTER_X && y2 == MATRIX_CENTER_Y)
change = true;
}

Expand Down

0 comments on commit e1f3257

Please sign in to comment.