Browse Source

Fix compile warning re: LCD_INFO_SCREEN_STYLE

pull/1/head
Ludy 6 years ago
committed by Scott Lahteine
parent
commit
75a0d46edf
  1. 8
      Marlin/src/lcd/ultralcd_impl_HD44780.h

8
Marlin/src/lcd/ultralcd_impl_HD44780.h

@ -722,6 +722,8 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
#endif
}
#if LCD_INFO_SCREEN_STYLE == 0
/**
* LCD_INFO_SCREEN_STYLE 0 : Classic Status Screen
*
@ -741,6 +743,7 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
* |F---% SD---% T--:--|
* |01234567890123456789|
*/
static void lcd_impl_status_screen_0() {
const bool blink = lcd_blink();
@ -868,6 +871,8 @@ static void lcd_impl_status_screen_0() {
_draw_status_message(blink);
}
#elif LCD_INFO_SCREEN_STYLE == 1
/**
* LCD_INFO_SCREEN_STYLE 1 : Prusa-style Status Screen
*
@ -881,6 +886,7 @@ static void lcd_impl_status_screen_0() {
* |B000/000° SD---% |
* |01234567890123456789|
*/
static void lcd_impl_status_screen_1() {
const bool blink = lcd_blink();
@ -957,6 +963,8 @@ static void lcd_impl_status_screen_1() {
_draw_status_message(blink);
}
#endif
#if ENABLED(ULTIPANEL)
#if ENABLED(ADVANCED_PAUSE_FEATURE)

Loading…
Cancel
Save