Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#725 from whosawhatsis/Marlin_v1
Browse files Browse the repository at this point in the history
Fix bugs in Extruder Runout Prevention, including DAMAGING HEAD CRASH
  • Loading branch information
ErikZalm committed Jan 20, 2014
2 parents c724c76 + f08bb8b commit 9b2576e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3298,8 +3298,8 @@ void manage_inactivity()
enable_e0();
float oldepos=current_position[E_AXIS];
float oldedes=destination[E_AXIS];
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS],
current_position[E_AXIS]+EXTRUDER_RUNOUT_EXTRUDE*EXTRUDER_RUNOUT_ESTEPS/axis_steps_per_unit[E_AXIS],
plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS],
destination[E_AXIS]+EXTRUDER_RUNOUT_EXTRUDE*EXTRUDER_RUNOUT_ESTEPS/axis_steps_per_unit[E_AXIS],
EXTRUDER_RUNOUT_SPEED/60.*EXTRUDER_RUNOUT_ESTEPS/axis_steps_per_unit[E_AXIS], active_extruder);
current_position[E_AXIS]=oldepos;
destination[E_AXIS]=oldedes;
Expand Down

0 comments on commit 9b2576e

Please sign in to comment.