Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DWIN Enhanced UI PLR error #23543

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Marlin/src/lcd/e3v2/enhanced/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,9 @@ void Draw_Main_Area() {
case PrintStatsProcess: Draw_PrintStats(); break;
#endif
case PauseOrStop: Popup_window_PauseOrStop(); break;
#if ENABLED(POWER_LOSS_RECOVERY)
case PwrlossRec: Popup_PowerLossRecovery(); break;
#endif
#if ENABLED(ADVANCED_PAUSE_FEATURE)
case FilamentPurge: Draw_Popup_FilamentPurge(); break;
#endif
Expand Down Expand Up @@ -1589,7 +1592,7 @@ void EachMomentUpdate() {

#if ENABLED(POWER_LOSS_RECOVERY)
else if (DWIN_lcd_sd_status && recovery.dwin_flag) { // resume print before power off
Goto_PowerLossRecovery();
return Goto_PowerLossRecovery();
}
#endif // POWER_LOSS_RECOVERY

Expand Down Expand Up @@ -1675,6 +1678,9 @@ void DWIN_HandleScreen() {
#endif
case NothingToDo: break;
case Locked: HMI_LockScreen(); break;
#if ENABLED(POWER_LOSS_RECOVERY)
case PwrlossRec: HMI_PowerlossRecovery(); break;
#endif
#if HAS_ESDIAG
case ESDiagProcess: HMI_Popup(); break;
#endif
Expand Down