Merge pull request #1068 from PavelSindler/M600_fix
M600 fix: remove unretract
This commit is contained in:
commit
cf83852d22
@ -3139,11 +3139,6 @@ void gcode_M600(bool automatic, float x_position, float y_position, float z_shif
|
|||||||
//Move Z back
|
//Move Z back
|
||||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], current_position[E_AXIS], FILAMENTCHANGE_ZFEED, active_extruder);
|
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], current_position[E_AXIS], FILAMENTCHANGE_ZFEED, active_extruder);
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
|
|
||||||
//Unretract
|
|
||||||
current_position[E_AXIS]= current_position[E_AXIS] - e_shift;
|
|
||||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], current_position[E_AXIS], FILAMENTCHANGE_RFEED, active_extruder);
|
|
||||||
st_synchronize();
|
|
||||||
|
|
||||||
//Set E position to original
|
//Set E position to original
|
||||||
plan_set_e_position(lastpos[E_AXIS]);
|
plan_set_e_position(lastpos[E_AXIS]);
|
||||||
|
Loading…
Reference in New Issue
Block a user