|
@@ -2752,7 +2752,7 @@ KeepDrawing:
|
2752
|
2752
|
|
2753
|
2753
|
#endif //SDSUPPORT
|
2754
|
2754
|
|
2755
|
|
- void menu_action_setting_edit_bool(const char* pstr, bool* ptr) {UNUSED(pstr); *ptr = !(*ptr); }
|
|
2755
|
+ void menu_action_setting_edit_bool(const char* pstr, bool* ptr) {UNUSED(pstr); *ptr = !(*ptr); lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }
|
2756
|
2756
|
void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callback) {
|
2757
|
2757
|
menu_action_setting_edit_bool(pstr, ptr);
|
2758
|
2758
|
(*callback)();
|
|
@@ -2892,7 +2892,7 @@ bool lcd_blink() {
|
2892
|
2892
|
* - Before exiting the handler set lcdDrawUpdate to:
|
2893
|
2893
|
* - LCDVIEW_CLEAR_CALL_REDRAW to clear screen and set LCDVIEW_CALL_REDRAW_NEXT.
|
2894
|
2894
|
* - LCDVIEW_REDRAW_NOW or LCDVIEW_NONE to keep drawingm but only in this loop.
|
2895
|
|
- * - LCDVIEW_REDRAW_NEXT to keep drawing and draw on the next loop also.
|
|
2895
|
+ * - LCDVIEW_CALL_REDRAW_NEXT to keep drawing and draw on the next loop also.
|
2896
|
2896
|
* - LCDVIEW_CALL_NO_REDRAW to keep drawing (or start drawing) with no redraw on the next loop.
|
2897
|
2897
|
* - NOTE: For graphical displays menu handlers may be called 2 or more times per loop,
|
2898
|
2898
|
* so don't change lcdDrawUpdate without considering this.
|