mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Fix axis indices for COREYZ
This commit is contained in:
parent
c287846f46
commit
3e2b3353b0
@ -795,8 +795,8 @@ void Planner::check_axes_activity() {
|
||||
delta_mm[A_AXIS] = (dx + dz) / axis_steps_per_mm[A_AXIS];
|
||||
delta_mm[C_AXIS] = (dx - dz) / axis_steps_per_mm[C_AXIS];
|
||||
#elif ENABLED(COREYZ)
|
||||
delta_mm[X_AXIS] = dx / axis_steps_per_mm[A_AXIS];
|
||||
delta_mm[Y_HEAD] = dy / axis_steps_per_mm[Y_AXIS];
|
||||
delta_mm[X_AXIS] = dx / axis_steps_per_mm[X_AXIS];
|
||||
delta_mm[Y_HEAD] = dy / axis_steps_per_mm[B_AXIS];
|
||||
delta_mm[Z_HEAD] = dz / axis_steps_per_mm[C_AXIS];
|
||||
delta_mm[B_AXIS] = (dy + dz) / axis_steps_per_mm[B_AXIS];
|
||||
delta_mm[C_AXIS] = (dy - dz) / axis_steps_per_mm[C_AXIS];
|
||||
|
Loading…
Reference in New Issue
Block a user