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 tomek2k1 committed Jan 13, 2023
1 parent 3cb448c commit a02b7e2
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 a02b7e2

Please sign in to comment.