wait_for_heater() in restore_print_from_ram_and_continue() only if saved_extruder_temperature differs from target hot-end temperature.
This fixes problem, that restore_print_from_ram_and_continue() blocked for heating for at least TEMP_RESIDENCY_TIME (3 seconds) even if temperature was resumed by M600 command.
This commit is contained in:
parent
ab4e789688
commit
9083d151b2
1 changed files with 2 additions and 1 deletions
|
@ -9476,7 +9476,8 @@ void restore_print_from_ram_and_continue(float e_move)
|
|||
// current_position[axis] = st_get_position_mm(axis);
|
||||
active_extruder = saved_active_extruder; //restore active_extruder
|
||||
fanSpeed = saved_fanSpeed;
|
||||
if (saved_extruder_temperature) {
|
||||
if (degTargetHotend(saved_active_extruder) != saved_extruder_temperature)
|
||||
{
|
||||
setTargetHotendSafe(saved_extruder_temperature, saved_active_extruder);
|
||||
heating_status = 1;
|
||||
wait_for_heater(_millis(), saved_active_extruder);
|
||||
|
|
Loading…
Reference in a new issue