Explorar el Código

canceling print after crash detection sets saved_priting flag to false

PavelSindler hace 6 años
padre
commit
f445b6018e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();