Browse Source

Init LCD welcome message programmatically

pull/1/head
Scott Lahteine 7 years ago
parent
commit
93c0198b2d
  1. 1
      Marlin/src/Marlin.cpp
  2. 2
      Marlin/src/lcd/ultralcd.cpp

1
Marlin/src/Marlin.cpp

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

2
Marlin/src/lcd/ultralcd.cpp

@ -98,7 +98,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;

Loading…
Cancel
Save