Add quickstop_stepper to update current position with stepper.quick_stop()

This commit is contained in:
Scott Lahteine
2016-07-06 12:00:28 -07:00
parent ecffe92e20
commit 834ad14c8d
5 changed files with 12 additions and 23 deletions

View File

@@ -556,14 +556,11 @@ static void lcd_status_screen() {
static void lcd_sdcard_stop() {
card.stopSDPrint();
clear_command_queue();
stepper.quick_stop();
quickstop_stepper();
print_job_timer.stop();
thermalManager.autotempShutdown();
wait_for_heatup = false;
lcd_setstatus(MSG_PRINT_ABORTED, true);
#if DISABLED(DELTA) && DISABLED(SCARA)
set_current_position_from_planner();
#endif // !DELTA && !SCARA
}
#endif //SDSUPPORT