Skip to content

Commit

Permalink
🐛 Fix Babystepping for CoreXZ
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and Andy-Big committed Jul 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b9d5553 commit c623a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
@@ -3679,7 +3679,7 @@ void Stepper::report_positions() {

case Y_AXIS:
#if CORE_IS_XY
BABYSTEP_CORE(X, Y, !direction, 1, (CORESIGN(1)>0));
BABYSTEP_CORE(X, Y, direction, 0, (CORESIGN(1)>0));
#elif CORE_IS_YZ
BABYSTEP_CORE(Y, Z, direction, 0, (CORESIGN(1)<0));
#else
@@ -3692,7 +3692,7 @@ void Stepper::report_positions() {
case Z_AXIS: {

#if CORE_IS_XZ
BABYSTEP_CORE(X, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)<0));
BABYSTEP_CORE(X, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)>0));
#elif CORE_IS_YZ
BABYSTEP_CORE(Y, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)<0));
#elif DISABLED(DELTA)

0 comments on commit c623a8a

Please sign in to comment.