Init LCD welcome message programmatically

This commit is contained in:
Scott Lahteine 2018-02-14 05:09:44 -06:00
parent f0debfd2fc
commit 93c0198b2d
2 changed files with 2 additions and 1 deletions

View File

@ -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();

View File

@ -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;