Also call clear_command_queue for lcd_sdcard_stop

This commit is contained in:
Scott Lahteine
2016-05-31 17:41:32 -07:00
parent 6277395e1e
commit 064efb20e0
3 changed files with 7 additions and 0 deletions

View File

@ -483,6 +483,7 @@ inline void line_to_current(AxisEnum axis) {
static void lcd_sdcard_stop() {
stepper.quick_stop();
set_current_position_from_planner();
clear_command_queue();
card.sdprinting = false;
card.closefile();
print_job_timer.stop();