Init LCD welcome message programmatically

2.0.x
Scott Lahteine 7 years ago
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…
Cancel
Save