Init lcd message string programmatically

This commit is contained in:
Scott Lahteine 2018-02-14 05:08:06 -06:00
parent 8fbba6abd9
commit 6e4a7e2dcb
2 changed files with 2 additions and 1 deletions

View File

@ -13781,6 +13781,7 @@ void setup() {
#endif
lcd_init();
LCD_MESSAGEPGM(WELCOME_MSG);
#if ENABLED(SHOW_BOOTSCREEN)
lcd_bootscreen();

View File

@ -90,7 +90,7 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
#define MAX_MESSAGE_LENGTH CHARSIZE * (LCD_WIDTH)
#endif
char lcd_status_message[MAX_MESSAGE_LENGTH + 1] = WELCOME_MSG;
char lcd_status_message[MAX_MESSAGE_LENGTH + 1];
#if ENABLED(SCROLL_LONG_FILENAMES)
uint8_t filename_scroll_pos, filename_scroll_max, filename_scroll_hash;