Fix marlinUI V2 display bootscreen reloading cached BG
This commit is contained in:
@@ -1398,7 +1398,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if NONE(MachineCR10Orig, LowMemoryBoard, SKRMiniE3V2)
|
||||
#if NONE(MachineCR10Orig, LowMemoryBoard, SKRMiniE3V2, MachineEnder3V2)
|
||||
// Scroll a longer status message into view
|
||||
#define STATUS_MESSAGE_SCROLLING
|
||||
#endif
|
||||
|
||||
@@ -45,9 +45,9 @@ void DWIN_Startup() {
|
||||
const bool success = DWIN_Handshake();
|
||||
if (success) DEBUG_ECHOLNPGM("ok."); else DEBUG_ECHOLNPGM("error.");
|
||||
DWIN_Frame_SetDir(TERN(DWIN_MARLINUI_LANDSCAPE, 0, 1));
|
||||
DWIN_JPG_ShowAndCache(3);
|
||||
DWIN_Frame_Clear(Color_Bg_Black); // MarlinUI handles the bootscreen so just clear here
|
||||
DWIN_UpdateLCD();
|
||||
DWIN_JPG_ShowAndCache(3);
|
||||
}
|
||||
|
||||
/*---------------------------------------- Picture related functions ----------------------------------------*/
|
||||
|
||||
@@ -122,6 +122,7 @@ void MarlinUI::clear_lcd() {
|
||||
|
||||
void MarlinUI::bootscreen_completion(const millis_t sofar) {
|
||||
if ((BOOTSCREEN_TIMEOUT) > sofar) safe_delay((BOOTSCREEN_TIMEOUT) - sofar);
|
||||
DWIN_JPG_ShowAndCache(3);
|
||||
clear_lcd();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user