mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Fix FWRetract with positive z-moves during retracted state
This commit is contained in:
parent
47cae2929f
commit
fe96376a73
@ -3071,8 +3071,8 @@ static void homeaxis(const AxisEnum axis) {
|
||||
}
|
||||
else {
|
||||
|
||||
// If the height hasn't been altered, undo the Z hop
|
||||
if (retract_zlift > 0.01 && hop_height == current_position[Z_AXIS]) {
|
||||
// If the height hasn't been lowered, undo the Z hop
|
||||
if (retract_zlift > 0.01 && hop_height <= current_position[Z_AXIS]) {
|
||||
// Pretend current position is higher. Z will lower on the next move
|
||||
current_position[Z_AXIS] += retract_zlift;
|
||||
SYNC_PLAN_POSITION_KINEMATIC();
|
||||
|
Loading…
Reference in New Issue
Block a user