From 1b09733e7cc44472a8b8fe2699ee4062bf1fd319 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 5 Nov 2017 18:29:00 -0600 Subject: [PATCH] Fix FWRETRACT un-hop --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index aed37731a..5e2a26fa3 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3255,7 +3255,7 @@ static void homeaxis(const AxisEnum axis) { else { // If a hop was done and Z hasn't changed, undo the Z hop if (hop_amount) { - current_position[Z_AXIS] -= retract_zlift; // Pretend current pos is lower. Next move raises Z. + current_position[Z_AXIS] += retract_zlift; // Pretend current pos is lower. Next move raises Z. SYNC_PLAN_POSITION_KINEMATIC(); // Set the planner to the new position feedrate_mm_s = planner.max_feedrate_mm_s[Z_AXIS]; // Z feedrate to max prepare_move_to_destination(); // Raise up to the old current pos