Skip to content

Commit

Permalink
🐛 Fix PLR for E3V2 Enhanced UI (MarlinFirmware#23543)
Browse files Browse the repository at this point in the history
  • Loading branch information
mriscoc authored and mh-dm committed May 15, 2022
1 parent 9034d9d commit f470b71
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit f470b71

Please sign in to comment.