Parcourir la source

Reset runout.ran_out on resume (#16230)

Tanguy Pruvot il y a 5 ans
Parent
révision
f8065da48f
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      Marlin/src/feature/pause.cpp

+ 4
- 0
Marlin/src/feature/pause.cpp Voir le fichier

@@ -694,6 +694,10 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
694 694
     thermalManager.set_fans_paused(false);
695 695
   #endif
696 696
 
697
+  #if HAS_FILAMENT_SENSOR
698
+    runout.reset();
699
+  #endif
700
+
697 701
   // Resume the print job timer if it was running
698 702
   if (print_job_timer.isPaused()) print_job_timer.start();
699 703
 

Chargement…
Annuler
Enregistrer