|
@@ -688,7 +688,7 @@ void kill_screen(const char* lcd_msg) {
|
688
|
688
|
extern void update_case_light();
|
689
|
689
|
|
690
|
690
|
void toggle_case_light() {
|
691
|
|
- case_light_on = !case_light_on;
|
|
691
|
+ case_light_on ^= true;
|
692
|
692
|
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT;
|
693
|
693
|
update_case_light();
|
694
|
694
|
}
|
|
@@ -3196,7 +3196,7 @@ void kill_screen(const char* lcd_msg) {
|
3196
|
3196
|
|
3197
|
3197
|
#endif //SDSUPPORT
|
3198
|
3198
|
|
3199
|
|
- void menu_action_setting_edit_bool(const char* pstr, bool* ptr) {UNUSED(pstr); *ptr = !(*ptr); lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }
|
|
3199
|
+ void menu_action_setting_edit_bool(const char* pstr, bool* ptr) {UNUSED(pstr); *ptr ^= true; lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }
|
3200
|
3200
|
void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callback) {
|
3201
|
3201
|
menu_action_setting_edit_bool(pstr, ptr);
|
3202
|
3202
|
(*callback)();
|