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. 20
      Marlin/src/lcd/ultralcd_impl_HD44780.h

20
Marlin/src/lcd/ultralcd_impl_HD44780.h

@ -722,7 +722,9 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
#endif #endif
} }
/** #if LCD_INFO_SCREEN_STYLE == 0
/**
* LCD_INFO_SCREEN_STYLE 0 : Classic Status Screen * LCD_INFO_SCREEN_STYLE 0 : Classic Status Screen
* *
* 16x2 |000/000 B000/000| * 16x2 |000/000 B000/000|
@ -741,7 +743,8 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
* |F---% SD---% T--:--| * |F---% SD---% T--:--|
* |01234567890123456789| * |01234567890123456789|
*/ */
static void lcd_impl_status_screen_0() {
static void lcd_impl_status_screen_0() {
const bool blink = lcd_blink(); const bool blink = lcd_blink();
// ========== Line 1 ========== // ========== Line 1 ==========
@ -866,9 +869,11 @@ static void lcd_impl_status_screen_0() {
// Status Message (which may be a Progress Bar or Filament display) // Status Message (which may be a Progress Bar or Filament display)
// //
_draw_status_message(blink); _draw_status_message(blink);
} }
/** #elif LCD_INFO_SCREEN_STYLE == 1
/**
* LCD_INFO_SCREEN_STYLE 1 : Prusa-style Status Screen * LCD_INFO_SCREEN_STYLE 1 : Prusa-style Status Screen
* *
* |T000/000° Z 000.00 | * |T000/000° Z 000.00 |
@ -881,7 +886,8 @@ static void lcd_impl_status_screen_0() {
* |B000/000° SD---% | * |B000/000° SD---% |
* |01234567890123456789| * |01234567890123456789|
*/ */
static void lcd_impl_status_screen_1() {
static void lcd_impl_status_screen_1() {
const bool blink = lcd_blink(); const bool blink = lcd_blink();
// ========== Line 1 ========== // ========== Line 1 ==========
@ -955,7 +961,9 @@ static void lcd_impl_status_screen_1() {
// Status Message (which may be a Progress Bar or Filament display) // Status Message (which may be a Progress Bar or Filament display)
// //
_draw_status_message(blink); _draw_status_message(blink);
} }
#endif
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)

Loading…
Cancel
Save