From fdef8686dca24e7bd452378b034008f278bc6103 Mon Sep 17 00:00:00 2001 From: ChuckVanzant Date: Wed, 3 Aug 2022 15:04:47 -0500 Subject: [PATCH] Changed Neopixel related static constants to #defines To be consistent with other Adafruit ESP32 variants having Neopixels, changed the Neopixel related static constants to #defines. --- variants/adafruit_qtpy_esp32/pins_arduino.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variants/adafruit_qtpy_esp32/pins_arduino.h b/variants/adafruit_qtpy_esp32/pins_arduino.h index a72310676f0..b22d0d5b780 100644 --- a/variants/adafruit_qtpy_esp32/pins_arduino.h +++ b/variants/adafruit_qtpy_esp32/pins_arduino.h @@ -11,8 +11,8 @@ #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) -static const uint8_t PIN_NEOPIXEL = 5; -static const uint8_t NEOPIXEL_POWER = 8; +#define PIN_NEOPIXEL 5 +#define NEOPIXEL_POWER 8 static const uint8_t TX = 32; static const uint8_t RX = 7;