Init LCD welcome message programmatically
This commit is contained in:
parent
f0debfd2fc
commit
93c0198b2d
|
@ -834,6 +834,7 @@ void setup() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
lcd_init();
|
lcd_init();
|
||||||
|
LCD_MESSAGEPGM(WELCOME_MSG);
|
||||||
|
|
||||||
#if ENABLED(SHOW_BOOTSCREEN)
|
#if ENABLED(SHOW_BOOTSCREEN)
|
||||||
lcd_bootscreen();
|
lcd_bootscreen();
|
||||||
|
|
|
@ -98,7 +98,7 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
|
||||||
#define MAX_MESSAGE_LENGTH CHARSIZE * (LCD_WIDTH)
|
#define MAX_MESSAGE_LENGTH CHARSIZE * (LCD_WIDTH)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char lcd_status_message[MAX_MESSAGE_LENGTH + 1] = WELCOME_MSG;
|
char lcd_status_message[MAX_MESSAGE_LENGTH + 1];
|
||||||
|
|
||||||
#if ENABLED(SCROLL_LONG_FILENAMES)
|
#if ENABLED(SCROLL_LONG_FILENAMES)
|
||||||
uint8_t filename_scroll_pos, filename_scroll_max, filename_scroll_hash;
|
uint8_t filename_scroll_pos, filename_scroll_max, filename_scroll_hash;
|
||||||
|
|
Loading…
Reference in a new issue