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() { void lcd_bootscreen() {
const static PROGMEM byte corner[4][8] = { { lcd_set_custom_characters(CHARSET_BOOT);
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.clear(); lcd.clear();
#define LCD_EXTRA_SPACE (LCD_WIDTH-8) #define LCD_EXTRA_SPACE (LCD_WIDTH-8)
@ -636,14 +597,9 @@ void lcd_printPGM_utf(const char *str, uint8_t n=LCD_WIDTH) {
#endif #endif
lcd.clear(); lcd.clear();
safe_delay(100); safe_delay(100);
lcd_set_custom_characters();
lcd_set_custom_characters( lcd.clear();
#if ENABLED(LCD_PROGRESS_BAR)
false
#endif
);
} }
#endif // SHOW_BOOTSCREEN #endif // SHOW_BOOTSCREEN