Browse Source

Fix status message missing "blink"

pull/1/head
Scott Lahteine 8 years ago
parent
commit
c61c0a9aeb
  1. 6
      Marlin/ultralcd_impl_DOGM.h

6
Marlin/ultralcd_impl_DOGM.h

@ -408,7 +408,7 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
}
}
inline void lcd_implementation_status_message() {
inline void lcd_implementation_status_message(const bool blink) {
#if ENABLED(STATUS_MESSAGE_SCROLLING)
static bool last_blink = false;
const uint8_t slen = lcd_strlen(lcd_status_message);
@ -693,7 +693,7 @@ static void lcd_implementation_status_screen() {
#if ENABLED(FILAMENT_LCD_DISPLAY) && ENABLED(SDSUPPORT)
if (PENDING(millis(), previous_lcd_status_ms + 5000UL)) { //Display both Status message line and Filament display on the last line
lcd_implementation_status_message();
lcd_implementation_status_message(blink);
}
else {
lcd_printPGM(PSTR(LCD_STR_FILAM_DIA));
@ -705,7 +705,7 @@ static void lcd_implementation_status_screen() {
u8g.print('%');
}
#else
lcd_implementation_status_message();
lcd_implementation_status_message(blink);
#endif
}
}

Loading…
Cancel
Save