Remove previous_millis_cmd update from extruder runout prevention code

This seems to defeat the purpose of previous_millis_cmd, preventing the
time elapsed from previous_millis_cmd from ever reaching
max_inactive_time or stepper_inactive_time while the heat was on.
This commit is contained in:
whosawhatsis 2014-01-19 19:22:08 -08:00
parent 8a5eaa3c9b
commit b1f8f492c6

View file

@ -3304,7 +3304,6 @@ void manage_inactivity()
current_position[E_AXIS]=oldepos; current_position[E_AXIS]=oldepos;
destination[E_AXIS]=oldedes; destination[E_AXIS]=oldedes;
plan_set_e_position(oldepos); plan_set_e_position(oldepos);
previous_millis_cmd=millis();
st_synchronize(); st_synchronize();
WRITE(E0_ENABLE_PIN,oldstatus); WRITE(E0_ENABLE_PIN,oldstatus);
} }