Move last bootscreen delay to end of setup (#21665)

This commit is contained in:
Scott Lahteine
2021-04-24 01:29:30 -05:00
committed by GitHub
parent a73dce4a56
commit a29aefc9c0
9 changed files with 57 additions and 12 deletions

View File

@ -397,7 +397,10 @@ static void center_text_P(PGM_P pstart, uint8_t y) {
center_text_P(PSTR(MARLIN_WEBSITE_URL), 4);
picBits = ICON_LOGO;
lcd.print_screen();
safe_delay(1500);
}
void MarlinUI::bootscreen_completion(const millis_t sofar) {
if ((BOOTSCREEN_TIMEOUT) > sofar) safe_delay((BOOTSCREEN_TIMEOUT) - sofar);
}
#endif // SHOW_BOOTSCREEN