🎨 Refactor Host Actions as singleton
This commit is contained in:
1 parent
1ead7ce681
commit
f80bcdcc5c
26 files changed
+208
-150
No files matched your search
@@ -1391,7 +1391,7 @@ void HMI_PauseOrStop() {
|
||||
card.abortFilePrintSoon(); // Let the main loop handle SD abort
|
||||
dwin_abort_flag = true; // Reset feedrate, return to Home
|
||||
#ifdef ACTION_ON_CANCEL
|
||||
host_action_cancel();
|
||||
hostui.cancel();
|
||||
#endif
|
||||
DWIN_Draw_Popup(ICON_BLTouch, F("Stopping...") , F("Please wait until done."));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user