Browse Source

Fix status message missing "blink"

Scott Lahteine 7 years ago
parent
commit
c61c0a9aeb
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/ultralcd_impl_DOGM.h

+ 3
- 3
Marlin/ultralcd_impl_DOGM.h View File

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

Loading…
Cancel
Save