|
|
@ -496,17 +496,16 @@ static void lcd_status_screen() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void lcd_sdcard_stop() {
|
|
|
|
static void lcd_sdcard_stop() {
|
|
|
|
stepper.quick_stop();
|
|
|
|
card.stopSDPrint();
|
|
|
|
#if DISABLED(DELTA) && DISABLED(SCARA)
|
|
|
|
|
|
|
|
set_current_position_from_planner();
|
|
|
|
|
|
|
|
#endif // !DELTA && !SCARA
|
|
|
|
|
|
|
|
clear_command_queue();
|
|
|
|
clear_command_queue();
|
|
|
|
card.sdprinting = false;
|
|
|
|
stepper.quick_stop();
|
|
|
|
card.closefile();
|
|
|
|
|
|
|
|
print_job_timer.stop();
|
|
|
|
print_job_timer.stop();
|
|
|
|
thermalManager.autotempShutdown();
|
|
|
|
thermalManager.autotempShutdown();
|
|
|
|
cancel_heatup = true;
|
|
|
|
cancel_heatup = true;
|
|
|
|
lcd_setstatus(MSG_PRINT_ABORTED, true);
|
|
|
|
lcd_setstatus(MSG_PRINT_ABORTED, true);
|
|
|
|
|
|
|
|
#if DISABLED(DELTA) && DISABLED(SCARA)
|
|
|
|
|
|
|
|
set_current_position_from_planner();
|
|
|
|
|
|
|
|
#endif // !DELTA && !SCARA
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //SDSUPPORT
|
|
|
|
#endif //SDSUPPORT
|
|
|
|