Reorganize some enums

This commit is contained in:
Scott Lahteine
2018-10-01 05:19:35 -05:00
parent 606a4362b3
commit 3019713402
4 changed files with 13 additions and 20 deletions

View File

@ -57,7 +57,15 @@
void lcd_kill_screen();
void kill_screen(PGM_P lcd_msg);
extern uint8_t lcdDrawUpdate;
enum LCDViewAction : uint8_t {
LCDVIEW_NONE,
LCDVIEW_REDRAW_NOW,
LCDVIEW_CALL_REDRAW_NEXT,
LCDVIEW_CLEAR_CALL_REDRAW,
LCDVIEW_CALL_NO_REDRAW
};
extern LCDViewAction lcdDrawUpdate;
inline void lcd_refresh() { lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }
#if HAS_BUZZER