Fix Neopixel typos
This commit is contained in:
parent
d0dd1a387e
commit
24706aedbd
@ -66,11 +66,9 @@ public:
|
|||||||
static void set_color_startup(const uint32_t c);
|
static void set_color_startup(const uint32_t c);
|
||||||
|
|
||||||
static void set_color(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
|
#ifdef NEOPIXEL_BKGD_LED_INDEX
|
||||||
static void set_pixel_color(const uint16_t n, const uint32_t c);
|
static void set_color_background();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline void begin() {
|
static inline void begin() {
|
||||||
@ -107,6 +105,10 @@ public:
|
|||||||
#endif
|
#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
|
// Accessors
|
||||||
static inline uint16_t pixels() { return adaneo1.numPixels(); }
|
static inline uint16_t pixels() { return adaneo1.numPixels(); }
|
||||||
static inline uint8_t brightness() { return adaneo1.getBrightness(); }
|
static inline uint8_t brightness() { return adaneo1.getBrightness(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user