Hotend Idle Timeout (#16362)
This commit is contained in:
@@ -159,6 +159,10 @@
|
||||
#include "feature/runout.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(HOTEND_IDLE_TIMEOUT)
|
||||
#include "feature/hotend_idle.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(TEMP_STAT_LEDS)
|
||||
#include "feature/leds/tempstat.h"
|
||||
#endif
|
||||
@@ -527,6 +531,8 @@ inline void manage_inactivity(const bool ignore_stepper_queue=false) {
|
||||
|
||||
TERN_(AUTO_POWER_CONTROL, powerManager.check());
|
||||
|
||||
TERN_(HOTEND_IDLE_TIMEOUT, hotend_idle.check());
|
||||
|
||||
#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
|
||||
if (thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP
|
||||
&& ELAPSED(ms, gcode.previous_move_ms + SEC_TO_MS(EXTRUDER_RUNOUT_SECONDS))
|
||||
|
||||
Reference in New Issue
Block a user