Browse Source

Fix Neopixel typos

Scott Lahteine 5 years ago
parent
commit
24706aedbd
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      Marlin/src/feature/leds/neopixel.h

+ 5
- 3
Marlin/src/feature/leds/neopixel.h View File

@@ -66,11 +66,9 @@ public:
66 66
   static void set_color_startup(const uint32_t c);
67 67
 
68 68
   static void set_color(const uint32_t c);
69
-  static void set_color_background();
70
-  //bool set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p);
71 69
 
72 70
   #ifdef NEOPIXEL_BKGD_LED_INDEX
73
-    static void set_pixel_color(const uint16_t n, const uint32_t c);
71
+    static void set_color_background();
74 72
   #endif
75 73
 
76 74
   static inline void begin() {
@@ -107,6 +105,10 @@ public:
107 105
     #endif
108 106
   }
109 107
 
108
+  #if 0
109
+    bool set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p);
110
+  #endif
111
+
110 112
   // Accessors
111 113
   static inline uint16_t pixels() { return adaneo1.numPixels(); }
112 114
   static inline uint8_t brightness() { return adaneo1.getBrightness(); }

Loading…
Cancel
Save