Further fix of LCD_PROGRESS_BAR (#9784)

This commit is contained in:
Zachary Hill 2018-02-23 18:52:25 -06:00 committed by Scott Lahteine
parent f36da47b85
commit 2aaa1a5815

View File

@ -335,6 +335,40 @@ static void lcd_set_custom_characters(
B00000
};
#if ENABLED(LCD_PROGRESS_BAR)
// CHARSET_INFO
const static PROGMEM byte progress[3][8] = { {
B00000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B00000
}, {
B00000,
B10100,
B10100,
B10100,
B10100,
B10100,
B10100,
B00000
}, {
B00000,
B10101,
B10101,
B10101,
B10101,
B10101,
B10101,
B00000
} };
#endif // LCD_PROGRESS_BAR
#if ENABLED(SDSUPPORT)
// CHARSET_MENU
@ -359,40 +393,6 @@ static void lcd_set_custom_characters(
B00000
};
#if ENABLED(LCD_PROGRESS_BAR)
// CHARSET_INFO
const static PROGMEM byte progress[3][8] = { {
B00000,
B10000,
B10000,
B10000,
B10000,
B10000,
B10000,
B00000
}, {
B00000,
B10100,
B10100,
B10100,
B10100,
B10100,
B10100,
B00000
}, {
B00000,
B10101,
B10101,
B10101,
B10101,
B10101,
B10101,
B00000
} };
#endif // LCD_PROGRESS_BAR
#endif // SDSUPPORT
#if ENABLED(SHOW_BOOTSCREEN) || ENABLED(LCD_PROGRESS_BAR)