Fix compile warning re: LCD_INFO_SCREEN_STYLE
This commit is contained in:
parent
a81763c237
commit
75a0d46edf
1 changed files with 209 additions and 201 deletions
|
@ -722,7 +722,9 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
|
|||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
#if LCD_INFO_SCREEN_STYLE == 0
|
||||
|
||||
/**
|
||||
* LCD_INFO_SCREEN_STYLE 0 : Classic Status Screen
|
||||
*
|
||||
* 16x2 |000/000 B000/000|
|
||||
|
@ -741,7 +743,8 @@ FORCE_INLINE void _draw_status_message(const bool blink) {
|
|||
* |F---% SD---% T--:--|
|
||||
* |01234567890123456789|
|
||||
*/
|
||||
static void lcd_impl_status_screen_0() {
|
||||
|
||||
static void lcd_impl_status_screen_0() {
|
||||
const bool blink = lcd_blink();
|
||||
|
||||
// ========== Line 1 ==========
|
||||
|
@ -866,9 +869,11 @@ static void lcd_impl_status_screen_0() {
|
|||
// Status Message (which may be a Progress Bar or Filament display)
|
||||
//
|
||||
_draw_status_message(blink);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
#elif LCD_INFO_SCREEN_STYLE == 1
|
||||
|
||||
/**
|
||||
* LCD_INFO_SCREEN_STYLE 1 : Prusa-style Status Screen
|
||||
*
|
||||
* |T000/000° Z 000.00 |
|
||||
|
@ -881,7 +886,8 @@ static void lcd_impl_status_screen_0() {
|
|||
* |B000/000° SD---% |
|
||||
* |01234567890123456789|
|
||||
*/
|
||||
static void lcd_impl_status_screen_1() {
|
||||
|
||||
static void lcd_impl_status_screen_1() {
|
||||
const bool blink = lcd_blink();
|
||||
|
||||
// ========== Line 1 ==========
|
||||
|
@ -955,7 +961,9 @@ static void lcd_impl_status_screen_1() {
|
|||
// Status Message (which may be a Progress Bar or Filament display)
|
||||
//
|
||||
_draw_status_message(blink);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(ULTIPANEL)
|
||||
|
||||
|
|
Reference in a new issue