mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 23:30:16 +00:00
Don't run M600
on filament runout if the nozzle is cold
This commit is contained in:
parent
c7ae531e35
commit
feb6014e92
@ -13236,7 +13236,10 @@ void disable_all_steppers() {
|
|||||||
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
if ((IS_SD_PRINTING || print_job_timer.isRunning()) && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING))
|
if ((IS_SD_PRINTING || print_job_timer.isRunning())
|
||||||
|
&& READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING
|
||||||
|
&& thermalManager.targetHotEnoughToExtrude(active_extruder)
|
||||||
|
)
|
||||||
handle_filament_runout();
|
handle_filament_runout();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user