|
|
@ -581,7 +581,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
|
|
|
|
|
|
|
|
#endif //SDSUPPORT
|
|
|
|
#endif //SDSUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
#if HAS_CASE_LIGHT && ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
|
|
|
|
|
|
|
|
extern bool case_light_on;
|
|
|
|
extern bool case_light_on;
|
|
|
|
extern void update_case_light();
|
|
|
|
extern void update_case_light();
|
|
|
@ -607,7 +607,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Switch case light on/off
|
|
|
|
// Switch case light on/off
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#if HAS_CASE_LIGHT && ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
if (case_light_on)
|
|
|
|
if (case_light_on)
|
|
|
|
MENU_ITEM(function, MSG_LIGHTS_OFF, toggle_case_light);
|
|
|
|
MENU_ITEM(function, MSG_LIGHTS_OFF, toggle_case_light);
|
|
|
|
else
|
|
|
|
else
|
|
|
|