Disable brightness and rename menu
This commit is contained in:
@@ -916,7 +916,7 @@
|
||||
#define MSG_INFO_PROTOCOL _UxGT("Protocol")
|
||||
#endif
|
||||
#ifndef MSG_CASE_LIGHT
|
||||
#define MSG_CASE_LIGHT _UxGT("LED")
|
||||
#define MSG_CASE_LIGHT _UxGT("LED Light")
|
||||
#endif
|
||||
#ifndef MSG_CASE_LIGHT_BRIGHTNESS
|
||||
#define MSG_CASE_LIGHT_BRIGHTNESS _UxGT("LED BRIGHTNESS")
|
||||
|
||||
+1
-1
@@ -933,7 +933,7 @@ void kill_screen(const char* lcd_msg) {
|
||||
// ^ Main
|
||||
//
|
||||
MENU_BACK(MSG_MAIN);
|
||||
MENU_ITEM_EDIT_CALLBACK(int8, 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);
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user