EVENT_GCODE_SD_STOP => ABORT (#18978)

This commit is contained in:
Robby Candra authored and GitHub committed 2020-08-10 20:25:35 -05:00
1 parent b14f630f26
commit 9590fcd855
4 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -2072,9 +2072,9 @@ void HMI_PauseOrStop(void) {
#ifdef ACTION_ON_CANCEL
host_action_cancel();
#endif
#ifdef EVENT_GCODE_SD_STOP
#ifdef EVENT_GCODE_SD_ABORT
Popup_Window_Home();
queue.inject_P(PSTR(EVENT_GCODE_SD_STOP)); // For Ender 3 "G28 X Y"
queue.inject_P(PSTR(EVENT_GCODE_SD_ABORT));
#endif
abort_flag = true;
#endif