瀏覽代碼

canceling print after crash detection sets saved_priting flag to false

PavelSindler 6 年之前
父節點
當前提交
f445b6018e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Firmware/Marlin_main.cpp

+ 1 - 0
Firmware/Marlin_main.cpp

@@ -619,6 +619,7 @@ void crashdet_recover()
 
 void crashdet_cancel()
 {
+	saved_printing = false;
 	tmc2130_sg_stop_on_crash = true;
 	if (saved_printing_type == PRINTING_TYPE_SD) {
 		lcd_print_stop();