Add quickstop_stepper to update current position with stepper.quick_stop()
This commit is contained in:
parent
ecffe92e20
commit
834ad14c8d
5 changed files with 12 additions and 23 deletions
|
|
@ -186,10 +186,7 @@ void Endstops::report_state() {
|
|||
if (stepper.abort_on_endstop_hit) {
|
||||
card.sdprinting = false;
|
||||
card.closefile();
|
||||
stepper.quick_stop();
|
||||
#if DISABLED(DELTA) && DISABLED(SCARA)
|
||||
set_current_position_from_planner();
|
||||
#endif
|
||||
quickstop_stepper();
|
||||
thermalManager.disable_all_heaters(); // switch off all heaters.
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue