Skip to content

Commit

Permalink
fix angermark color #84
Browse files Browse the repository at this point in the history
  • Loading branch information
mongonta0716 committed Jun 11, 2023
1 parent 7508f44 commit 25d4623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Effect.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Effect final : public Drawable {
}

void drawAngerMark(M5Canvas *spi, uint32_t x, uint32_t y, uint32_t r,
uint16_t color, uint32_t bColor, float offset) {
uint16_t color, uint16_t bColor, float offset) {
r = r + abs(r * 0.4 * offset);
spi->fillRect(x - (r / 3), y - r, (r * 2) / 3, r * 2, color);
spi->fillRect(x - r, y - (r / 3), r * 2, (r * 2) / 3, color);
Expand Down

0 comments on commit 25d4623

Please sign in to comment.