Explorar o código

stop paused print fix: saved_printing set to false when doing stop print

PavelSindler %!s(int64=6) %!d(string=hai) anos
pai
achega
40fe52202d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Firmware/ultralcd.cpp

+ 2 - 1
Firmware/ultralcd.cpp

@@ -6058,6 +6058,7 @@ static void lcd_sd_updir()
 
 void lcd_print_stop()
 {
+	saved_printing = false;
 	cancel_heatup = true;
 #ifdef MESH_BED_LEVELING
 	mbl.active = false;
@@ -6091,7 +6092,7 @@ void lcd_print_stop()
 
 void lcd_sdcard_stop()
 {
-	
+
 	lcd_set_cursor(0, 0);
 	lcd_puts_P(_T(MSG_STOP_PRINT));
 	lcd_set_cursor(2, 2);