From 1d7753feac590365aab8ad68665fd1b29e77d03d Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 1 Nov 2022 21:51:19 +0100 Subject: [PATCH] fix m5fire.h RGB_LED_COUNT build error --- src/hal/m5fire.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hal/m5fire.h b/src/hal/m5fire.h index 81f35454..1536f137 100644 --- a/src/hal/m5fire.h +++ b/src/hal/m5fire.h @@ -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(leds, RGB_LED_COUNT); #define HAS_BUTTON (39) // on board button A