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