Browse Source

Don't run `M600` on filament runout if the nozzle is cold

Scott Lahteine 7 years ago
parent
commit
a718f5bdf3
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/src/Marlin.cpp

+ 4
- 1
Marlin/src/Marlin.cpp View File

336
 void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
336
 void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
337
 
337
 
338
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
338
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
339
-    if ((IS_SD_PRINTING || print_job_timer.isRunning()) && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING))
339
+    if ((IS_SD_PRINTING || print_job_timer.isRunning())
340
+      && READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING
341
+      && thermalManager.targetHotEnoughToExtrude(active_extruder)
342
+    )
340
       handle_filament_runout();
343
       handle_filament_runout();
341
   #endif
344
   #endif
342
 
345
 

Loading…
Cancel
Save