Bootscreen parity with 1.1.x
This commit is contained in:
parent
b634bfe1b1
commit
f0dd4e3fa0
1 changed files with 3 additions and 47 deletions
|
@ -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
|
||||
|
|
Reference in a new issue