1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

🐛 Fix PLR for E3V2 Enhanced UI (#23543)

This commit is contained in:
Miguel Risco-Castillo 2022-01-17 00:36:03 -05:00 committed by GitHub
parent 3315ff8856
commit 6cfa011c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1445,6 +1445,9 @@ void Draw_Main_Area() {
case PrintStatsProcess: Draw_PrintStats(); break; case PrintStatsProcess: Draw_PrintStats(); break;
#endif #endif
case PauseOrStop: Popup_window_PauseOrStop(); break; case PauseOrStop: Popup_window_PauseOrStop(); break;
#if ENABLED(POWER_LOSS_RECOVERY)
case PwrlossRec: Popup_PowerLossRecovery(); break;
#endif
#if ENABLED(ADVANCED_PAUSE_FEATURE) #if ENABLED(ADVANCED_PAUSE_FEATURE)
case FilamentPurge: Draw_Popup_FilamentPurge(); break; case FilamentPurge: Draw_Popup_FilamentPurge(); break;
#endif #endif
@ -1589,7 +1592,7 @@ void EachMomentUpdate() {
#if ENABLED(POWER_LOSS_RECOVERY) #if ENABLED(POWER_LOSS_RECOVERY)
else if (DWIN_lcd_sd_status && recovery.dwin_flag) { // resume print before power off else if (DWIN_lcd_sd_status && recovery.dwin_flag) { // resume print before power off
Goto_PowerLossRecovery(); return Goto_PowerLossRecovery();
} }
#endif // POWER_LOSS_RECOVERY #endif // POWER_LOSS_RECOVERY
@ -1675,6 +1678,9 @@ void DWIN_HandleScreen() {
#endif #endif
case NothingToDo: break; case NothingToDo: break;
case Locked: HMI_LockScreen(); break; case Locked: HMI_LockScreen(); break;
#if ENABLED(POWER_LOSS_RECOVERY)
case PwrlossRec: HMI_PowerlossRecovery(); break;
#endif
#if HAS_ESDIAG #if HAS_ESDIAG
case ESDiagProcess: HMI_Popup(); break; case ESDiagProcess: HMI_Popup(); break;
#endif #endif