Skip to content

Commit fafd9cd

Browse files
committed
fixed compile for Pro Micro
I had to exclude the LED strip from the build but that was successful with the Sparkfun Pro Micro board selected.
1 parent 2c3ecc1 commit fafd9cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

led_strip.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <stdint.h>
1111
#include "MicroChess.h"
1212

13-
#if not ARDUINO_ARCH_RENESAS && not ESP32
13+
#if not ARDUINO_ARCH_RENESAS && not ESP32 && not ARDUINO_AVR_PROMICRO
1414
#include <FastLED.h>
1515

1616
FASTLED_USING_NAMESPACE
@@ -95,5 +95,4 @@ void set_led_strip(index_t const flash /* = -1 */)
9595
void init_led_strip() { }
9696
void set_led_strip(index_t const /* flash = -1 */) { }
9797

98-
#endif // #if not ARDUINO_ARCH_RENESAS
99-
98+
#endif // #if not ARDUINO_ARCH_RENESAS && not ESP32

0 commit comments

Comments
 (0)