|
|
@ -90,12 +90,16 @@ int16_t lcd_preheat_hotend_temp[2], lcd_preheat_bed_temp[2], lcd_preheat_fan_spe
|
|
|
|
|
|
|
|
|
|
|
|
uint8_t lcd_status_update_delay = 1, // First update one loop delayed
|
|
|
|
uint8_t lcd_status_update_delay = 1, // First update one loop delayed
|
|
|
|
lcd_status_message_level; // Higher level blocks lower level
|
|
|
|
lcd_status_message_level; // Higher level blocks lower level
|
|
|
|
char lcd_status_message[3 * (LCD_WIDTH) + 1] = WELCOME_MSG; // worst case is kana with up to 3*LCD_WIDTH+1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(STATUS_MESSAGE_SCROLLING)
|
|
|
|
#if ENABLED(STATUS_MESSAGE_SCROLLING)
|
|
|
|
|
|
|
|
#define MAX_MESSAGE_LENGTH max(2 * CHARSIZE * LCD_WIDTH, LONG_FILENAME_LENGTH)
|
|
|
|
uint8_t status_scroll_pos = 0;
|
|
|
|
uint8_t status_scroll_pos = 0;
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define MAX_MESSAGE_LENGTH CHARSIZE * (LCD_WIDTH)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|