Add hotEnough methods
This commit is contained in:
parent
74873f377d
commit
c970869d74
3 changed files with 18 additions and 15 deletions
|
|
@ -6493,7 +6493,7 @@ inline void gcode_M17() {
|
|||
COPY(resume_position, current_position);
|
||||
|
||||
// Initial retract before move to filament change position
|
||||
if (retract && !thermalManager.tooColdToExtrude(active_extruder))
|
||||
if (retract && thermalManager.hotEnoughToExtrude(active_extruder))
|
||||
do_pause_e_move(retract, PAUSE_PARK_RETRACT_FEEDRATE);
|
||||
|
||||
// Park the nozzle by moving up by z_lift and then moving to (x_pos, y_pos)
|
||||
|
|
@ -6603,7 +6603,7 @@ inline void gcode_M17() {
|
|||
thermalManager.reset_heater_idle_timer(e);
|
||||
}
|
||||
|
||||
if (nozzle_timed_out || !thermalManager.tooColdToExtrude(active_extruder)) {
|
||||
if (nozzle_timed_out || thermalManager.hotEnoughToExtrude(active_extruder)) {
|
||||
// Load the new filament
|
||||
load_filament(load_length, extrude_length, max_beep_count, true, nozzle_timed_out);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue