From 31261d0c17f55a45b0fe637e24a8154b7d9bf90c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 16 Apr 2018 01:40:42 -0500 Subject: [PATCH] Fix bug in Planner::set_position_mm --- Marlin/planner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/planner.cpp b/Marlin/planner.cpp index eb09dd6ff..93dbb18f9 100644 --- a/Marlin/planner.cpp +++ b/Marlin/planner.cpp @@ -1655,7 +1655,7 @@ void Planner::set_position_mm(const AxisEnum axis, const float &v) { #if HAS_POSITION_FLOAT position_float[axis] = v; #endif - stepper.set_position(axis, v); + stepper.set_position(axis, position[axis]); previous_speed[axis] = 0.0; }