backport: Stub LCDButtonChoice for LCD_LEFT_BUTTON_CHOICE

This commit is contained in:
Yuri D'Elia 2022-12-29 20:37:36 +01:00 committed by DRracer
parent 3f86636bb6
commit a18f28715d
1 changed files with 6 additions and 1 deletions

View File

@ -69,7 +69,12 @@ void lcd_crash_detect_enable();
void lcd_crash_detect_disable(); void lcd_crash_detect_disable();
#endif #endif
extern const char* lcd_display_message_fullscreen_P(const char *msg, uint8_t &nlines); enum LCDButtonChoice : int_fast8_t {
LCD_LEFT_BUTTON_CHOICE = 1,
LCD_MIDDLE_BUTTON_CHOICE = 0,
LCD_BUTTON_TIMEOUT = -1,
};
extern const char* lcd_display_message_fullscreen_P(const char *msg); extern const char* lcd_display_message_fullscreen_P(const char *msg);
extern void lcd_return_to_status(); extern void lcd_return_to_status();