Also call clear_command_queue for lcd_sdcard_stop

This commit is contained in:
Scott Lahteine committed 2016-06-02 17:16:19 -07:00
1 parent 6277395e1e
commit 064efb20e0
3 files changed
+7

No files matched your search

+1
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();