Fix compile warning re: LCD_INFO_SCREEN_STYLE

This commit is contained in:
Ludy 2018-10-18 22:32:09 +02:00 committed by Scott Lahteine
parent a81763c237
commit 75a0d46edf

View file

@ -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)