EVENT_GCODE_SD_STOP => ABORT (#18978)

This commit is contained in:
Robby Candra
2020-08-11 08:25:35 +07:00
committed by GitHub
parent b14f630f26
commit 9590fcd855
4 changed files with 9 additions and 7 deletions

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