|
|
@ -761,9 +761,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
|
|
|
|
|
|
|
|
extern int case_light_brightness;
|
|
|
|
#include "../feature/caselight.h"
|
|
|
|
extern bool case_light_on;
|
|
|
|
|
|
|
|
extern void update_case_light();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void case_light_menu() {
|
|
|
|
void case_light_menu() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
@ -771,7 +769,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
// ^ Main
|
|
|
|
// ^ Main
|
|
|
|
//
|
|
|
|
//
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(int3, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(int8, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
|
|
|
|
END_MENU();
|
|
|
|
END_MENU();
|
|
|
|
}
|
|
|
|
}
|
|
|
|