diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 9574e09823..47ad0b7320 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -160,10 +160,10 @@ //if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded //#define EXTRUDER_RUNOUT_PREVENT #define EXTRUDER_RUNOUT_MINTEMP 190 -#define EXTRUDER_RUNOUT_SECONDS 60 -#define EXTRUDER_RUNOUT_ESTEPS 14 //mm filament -#define EXTRUDER_RUNOUT_EXTRUDE 100 //mm filament -#define EXTRUDER_RUNOUT_SPEED 1500 //extrusion speed +#define EXTRUDER_RUNOUT_SECONDS 60. +#define EXTRUDER_RUNOUT_ESTEPS 14. //mm filament +#define EXTRUDER_RUNOUT_EXTRUDE 50. //mm filament +#define EXTRUDER_RUNOUT_SPEED 1500. //extrusion speed //=========================================================================== diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 30d65d3d9d..b3291cb0be 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -1205,7 +1205,7 @@ void manage_inactivity(byte debug) 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], - EXTRUDER_RUNOUT_SPEED*feedmultiply/60/100.0*EXTRUDER_RUNOUT_ESTEPS/axis_steps_per_unit[E_AXIS], active_extruder); + EXTRUDER_RUNOUT_SPEED/60.*EXTRUDER_RUNOUT_ESTEPS/axis_steps_per_unit[E_AXIS], active_extruder); current_position[E_AXIS]=oldepos; destination[E_AXIS]=oldedes; plan_set_e_position(oldepos);