Fix LED_CONTROL_MENU compile (#20914)
This commit is contained in:
parent
cc545a73a1
commit
07a3ed1d7e
@ -123,11 +123,15 @@ void menu_led() {
|
|||||||
#if ENABLED(LED_CONTROL_MENU)
|
#if ENABLED(LED_CONTROL_MENU)
|
||||||
editable.state = leds.lights_on;
|
editable.state = leds.lights_on;
|
||||||
EDIT_ITEM(bool, MSG_LEDS, &editable.state, leds.toggle);
|
EDIT_ITEM(bool, MSG_LEDS, &editable.state, leds.toggle);
|
||||||
ACTION_ITEM(MSG_SET_LEDS_DEFAULT, leds.set_default);
|
#if ENABLED(LED_COLOR_PRESETS)
|
||||||
|
ACTION_ITEM(MSG_SET_LEDS_DEFAULT, leds.set_default);
|
||||||
|
#endif
|
||||||
#if ENABLED(NEOPIXEL2_SEPARATE)
|
#if ENABLED(NEOPIXEL2_SEPARATE)
|
||||||
editable.state = leds2.lights_on;
|
editable.state = leds2.lights_on;
|
||||||
EDIT_ITEM(bool, MSG_LEDS2, &editable.state, leds2.toggle);
|
EDIT_ITEM(bool, MSG_LEDS2, &editable.state, leds2.toggle);
|
||||||
ACTION_ITEM(MSG_SET_LEDS_DEFAULT, leds2.set_default);
|
#if ENABLED(NEO2_COLOR_PRESETS)
|
||||||
|
ACTION_ITEM(MSG_SET_LEDS_DEFAULT, leds2.set_default);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if ENABLED(LED_COLOR_PRESETS)
|
#if ENABLED(LED_COLOR_PRESETS)
|
||||||
SUBMENU(MSG_LED_PRESETS, menu_led_presets);
|
SUBMENU(MSG_LED_PRESETS, menu_led_presets);
|
||||||
|
Loading…
Reference in New Issue
Block a user