✨ SD Endstop Abort G-Code (#24461)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user