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,6 +722,8 @@ 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
|
||||||
*
|
*
|
||||||
|
@ -741,6 +743,7 @@ 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();
|
||||||
|
|
||||||
|
@ -868,6 +871,8 @@ static void lcd_impl_status_screen_0() {
|
||||||
_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
|
||||||
*
|
*
|
||||||
|
@ -881,6 +886,7 @@ 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();
|
||||||
|
|
||||||
|
@ -957,6 +963,8 @@ static void lcd_impl_status_screen_1() {
|
||||||
_draw_status_message(blink);
|
_draw_status_message(blink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(ULTIPANEL)
|
#if ENABLED(ULTIPANEL)
|
||||||
|
|
||||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||||
|
|
Reference in a new issue