Further fix of LCD_PROGRESS_BAR (#9783)

This commit is contained in:
Zachary Hill 2018-02-23 18:53:04 -06:00 committed by Scott Lahteine
parent e0227f2110
commit 4d588b2d6a

View file

@ -340,6 +340,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
@ -364,40 +398,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)