Browse Source

Fix Neopixel typos

pull/1/head
Scott Lahteine 5 years ago
parent
commit
24706aedbd
  1. 8
      Marlin/src/feature/leds/neopixel.h

8
Marlin/src/feature/leds/neopixel.h

@ -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(); }

Loading…
Cancel
Save