Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix Babystepping for CoreXZ
Browse files Browse the repository at this point in the history
thinkyhead authored and Tracy Spiva committed May 25, 2023
1 parent 7c9b4c7 commit da4d5d8
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
@@ -3670,7 +3670,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
@@ -3683,7 +3683,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 da4d5d8

Please sign in to comment.