From 6a61c26955fb9d1bdf492789545fce45073c17f7 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Mon, 5 Apr 2021 20:04:50 +0200 Subject: [PATCH] Removed unused crashdet_stop_and_save_print2 --- Firmware/Marlin_main.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 547f4e211..982a93db6 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -588,19 +588,6 @@ void crashdet_restore_print_and_continue() // babystep_apply(); } - -void crashdet_stop_and_save_print2() -{ - cli(); - planner_abort_hard(); //abort printing - cmdqueue_reset(); //empty cmdqueue - card.sdprinting = false; - card.closefile(); - // Reset and re-enable the stepper timer just before the global interrupts are enabled. - st_reset_timer(); - sei(); -} - void crashdet_detected(uint8_t mask) { st_synchronize();