Explorar el Código

Fix status message missing "blink"

Scott Lahteine hace 7 años
padre
commit
c61c0a9aeb
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      Marlin/ultralcd_impl_DOGM.h

+ 3
- 3
Marlin/ultralcd_impl_DOGM.h Ver fichero

@@ -408,7 +408,7 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
408 408
   }
409 409
 }
410 410
 
411
-inline void lcd_implementation_status_message() {
411
+inline void lcd_implementation_status_message(const bool blink) {
412 412
   #if ENABLED(STATUS_MESSAGE_SCROLLING)
413 413
     static bool last_blink = false;
414 414
     const uint8_t slen = lcd_strlen(lcd_status_message);
@@ -693,7 +693,7 @@ static void lcd_implementation_status_screen() {
693 693
 
694 694
     #if ENABLED(FILAMENT_LCD_DISPLAY) && ENABLED(SDSUPPORT)
695 695
       if (PENDING(millis(), previous_lcd_status_ms + 5000UL)) {  //Display both Status message line and Filament display on the last line
696
-        lcd_implementation_status_message();
696
+        lcd_implementation_status_message(blink);
697 697
       }
698 698
       else {
699 699
         lcd_printPGM(PSTR(LCD_STR_FILAM_DIA));
@@ -705,7 +705,7 @@ static void lcd_implementation_status_screen() {
705 705
         u8g.print('%');
706 706
       }
707 707
     #else
708
-      lcd_implementation_status_message();
708
+      lcd_implementation_status_message(blink);
709 709
     #endif
710 710
   }
711 711
 }

Loading…
Cancelar
Guardar