Merge branch 'Marlin_v1' of https://github.com/whosawhatsis/Marlin into Marlin_v1
This commit is contained in:
commit
b5ba5c1465
1 changed files with 4 additions and 2 deletions
|
@ -1113,11 +1113,13 @@ void process_commands()
|
||||||
destination[X_AXIS]=current_position[X_AXIS];
|
destination[X_AXIS]=current_position[X_AXIS];
|
||||||
destination[Y_AXIS]=current_position[Y_AXIS];
|
destination[Y_AXIS]=current_position[Y_AXIS];
|
||||||
destination[Z_AXIS]=current_position[Z_AXIS];
|
destination[Z_AXIS]=current_position[Z_AXIS];
|
||||||
current_position[Z_AXIS]+=-retract_zlift;
|
current_position[Z_AXIS]-=retract_zlift;
|
||||||
destination[E_AXIS]=current_position[E_AXIS]-retract_length;
|
destination[E_AXIS]=current_position[E_AXIS]-retract_length/volumetric_multiplier[active_extruder];
|
||||||
|
float oldFeedrate = feedrate;
|
||||||
feedrate=retract_feedrate;
|
feedrate=retract_feedrate;
|
||||||
retracted=true;
|
retracted=true;
|
||||||
prepare_move();
|
prepare_move();
|
||||||
|
feedrate = oldFeedrate;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Reference in a new issue