浏览代码

Merge pull request #1283 from PavelSindler/crashdet_cancel

canceling print after crash detection sets saved_priting flag to false
PavelSindler 6 年之前
父节点
当前提交
2619c6f7a1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Firmware/Marlin_main.cpp

+ 1 - 0
Firmware/Marlin_main.cpp

@@ -622,6 +622,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();