Skip to content

Commit

Permalink
fix m5fire.h RGB_LED_COUNT build error
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed Nov 1, 2022
1 parent c2f2660 commit 1d7753f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hal/m5fire.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature

#define HAS_LED NOT_A_PIN // no on board LED (?)
#define RGB_LED_COUNT 10

#define RGB_LED_COUNT 1 // we have 1 LED
#define RGB_LED_COUNT 10 // M5fire has a stripe of 10 RGB Pixels
#define HAS_RGB_LED FastLED.addLeds<SK6812, GPIO_NUM_15, GRB>(leds, RGB_LED_COUNT);
#define HAS_BUTTON (39) // on board button A

Expand Down

0 comments on commit 1d7753f

Please sign in to comment.