✨ SD Endstop Abort G-Code (#24461)

This commit is contained in:
ExtNeon authored and Scott Lahteine committed 2022-08-06 18:50:49 -05:00
1 parent b02c3258b5
commit 7f2a836251
2 files changed
+7

No files matched your search

+4
View File
@@ -551,6 +551,10 @@ void Endstops::event_handler() {
card.abortFilePrintNow();
quickstop_stepper();
thermalManager.disable_all_heaters();
#ifdef SD_ABORT_ON_ENDSTOP_HIT_GCODE
queue.clear();
queue.inject(F(SD_ABORT_ON_ENDSTOP_HIT_GCODE));
#endif
print_job_timer.stop();
}
#endif