Merge pull request #6570 from FHeilmann/patch-2

Fix broken fwretract recovery extruder feedrate
This commit is contained in:
Scott Lahteine 2017-05-04 07:15:19 -05:00 committed by GitHub
commit 28e597f945

View file

@ -3062,6 +3062,8 @@ static void homeaxis(const AxisEnum axis) {
// Pretend current position is higher. Z will lower on the next move // Pretend current position is higher. Z will lower on the next move
current_position[Z_AXIS] += retract_zlift; current_position[Z_AXIS] += retract_zlift;
SYNC_PLAN_POSITION_KINEMATIC(); SYNC_PLAN_POSITION_KINEMATIC();
// Lower Z
prepare_move_to_destination();
} }
feedrate_mm_s = retract_recover_feedrate_mm_s; feedrate_mm_s = retract_recover_feedrate_mm_s;
@ -3069,7 +3071,7 @@ static void homeaxis(const AxisEnum axis) {
current_position[E_AXIS] -= move_e / volumetric_multiplier[active_extruder]; current_position[E_AXIS] -= move_e / volumetric_multiplier[active_extruder];
sync_plan_position_e(); sync_plan_position_e();
// Lower Z and recover E // Recover E
prepare_move_to_destination(); prepare_move_to_destination();
} }