Menu items for Separate NeoPixel (#19280)

This commit is contained in:
Zachary Annand
2020-09-06 20:00:24 -05:00
committed by GitHub
parent f29baed540
commit 5ea7a8373a
5 changed files with 67 additions and 11 deletions

View File

@@ -240,7 +240,7 @@ extern LEDLights leds;
static inline void set_violet() { set_color(LEDColorViolet()); }
#endif
#if ENABLED(LED_CONTROL_MENU)
#if ENABLED(NEOPIXEL2_SEPARATE)
static LEDColor color; // last non-off color
static bool lights_on; // the last set color was "on"
static void toggle(); // swap "off" with color