From cc57d461587d35fdc9cc2412dd87c96255990af5 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 3 Nov 2016 16:41:55 -0500 Subject: [PATCH] Fix set_position for CoreYZ --- Marlin/stepper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index cb7eb3c31d..4ed9f3221a 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -982,8 +982,8 @@ void Stepper::set_position(const long &a, const long &b, const long &c, const lo #elif ENABLED(COREYZ) // coreyz planning count_position[X_AXIS] = a; - count_position[B_AXIS] = y + c; - count_position[C_AXIS] = y - c; + count_position[B_AXIS] = b + c; + count_position[C_AXIS] = b - c; #else // default non-h-bot planning count_position[X_AXIS] = a;