Browse Source

Fix set_position for CoreYZ

Scott Lahteine 7 years ago
parent
commit
cc57d46158
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/stepper.cpp

+ 2
- 2
Marlin/stepper.cpp View File

@@ -982,8 +982,8 @@ void Stepper::set_position(const long &a, const long &b, const long &c, const lo
982 982
   #elif ENABLED(COREYZ)
983 983
     // coreyz planning
984 984
     count_position[X_AXIS] = a;
985
-    count_position[B_AXIS] = y + c;
986
-    count_position[C_AXIS] = y - c;
985
+    count_position[B_AXIS] = b + c;
986
+    count_position[C_AXIS] = b - c;
987 987
   #else
988 988
     // default non-h-bot planning
989 989
     count_position[X_AXIS] = a;

Loading…
Cancel
Save