1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Bootscreen parity with 1.1.x

This commit is contained in:
Scott Lahteine 2017-11-26 20:07:17 -06:00
parent b634bfe1b1
commit f0dd4e3fa0

View File

@ -529,46 +529,7 @@ void lcd_printPGM_utf(const char *str, uint8_t n=LCD_WIDTH) {
}
void lcd_bootscreen() {
const static PROGMEM byte corner[4][8] = { {
B00000,
B00000,
B00000,
B00000,
B00001,
B00010,
B00100,
B00100
}, {
B00000,
B00000,
B00000,
B11100,
B11100,
B01100,
B00100,
B00100
}, {
B00100,
B00010,
B00001,
B00000,
B00000,
B00000,
B00000,
B00000
}, {
B00100,
B01000,
B10000,
B00000,
B00000,
B00000,
B00000,
B00000
} };
for (uint8_t i = 0; i < 4; i++)
createChar_P(i, corner[i]);
lcd_set_custom_characters(CHARSET_BOOT);
lcd.clear();
#define LCD_EXTRA_SPACE (LCD_WIDTH-8)
@ -636,14 +597,9 @@ void lcd_printPGM_utf(const char *str, uint8_t n=LCD_WIDTH) {
#endif
lcd.clear();
safe_delay(100);
lcd_set_custom_characters(
#if ENABLED(LCD_PROGRESS_BAR)
false
#endif
);
lcd_set_custom_characters();
lcd.clear();
}
#endif // SHOW_BOOTSCREEN