[2.0.x] Reset LCD status to fallbacks (#10470)
* Remove obsolete strings * Tweak some static consts * Reset LCD status to fallbacks
This commit is contained in:
@ -58,6 +58,7 @@
|
||||
void lcd_setstatusPGM(const char* message, const int8_t level=0);
|
||||
void lcd_setalertstatusPGM(const char* message);
|
||||
void lcd_reset_alert_level();
|
||||
void lcd_reset_status();
|
||||
void lcd_status_printf_P(const uint8_t level, const char * const fmt, ...);
|
||||
void lcd_kill_screen();
|
||||
void kill_screen(const char* lcd_msg);
|
||||
@ -244,14 +245,13 @@
|
||||
inline void lcd_status_printf_P(const uint8_t level, const char * const fmt, ...) { UNUSED(level); UNUSED(fmt); }
|
||||
inline void lcd_setalertstatusPGM(const char* message) { UNUSED(message); }
|
||||
inline void lcd_reset_alert_level() {}
|
||||
inline void lcd_reset_status() {}
|
||||
|
||||
#endif // ULTRA_LCD
|
||||
|
||||
#define LCD_MESSAGEPGM(x) lcd_setstatusPGM(PSTR(x))
|
||||
#define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatusPGM(PSTR(x))
|
||||
|
||||
void lcd_reset_status();
|
||||
|
||||
// For i2c define BUZZ to use lcd_buzz
|
||||
#if ENABLED(LCD_USE_I2C_BUZZER)
|
||||
#define BUZZ(d,f) lcd_buzz(d, f)
|
||||
|
Reference in New Issue
Block a user