Fix Neopixel typos

This commit is contained in:
Scott Lahteine 2019-09-29 17:36:21 -05:00
parent d0dd1a387e
commit 24706aedbd

View File

@ -66,11 +66,9 @@ public:
static void set_color_startup(const uint32_t c);
static void set_color(const uint32_t c);
static void set_color_background();
//bool set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p);
#ifdef NEOPIXEL_BKGD_LED_INDEX
static void set_pixel_color(const uint16_t n, const uint32_t c);
static void set_color_background();
#endif
static inline void begin() {
@ -107,6 +105,10 @@ public:
#endif
}
#if 0
bool set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p);
#endif
// Accessors
static inline uint16_t pixels() { return adaneo1.numPixels(); }
static inline uint8_t brightness() { return adaneo1.getBrightness(); }