Skip to content

Commit 7cf1065

Browse files
committed
🐛 Fix Babystepping for CoreXZ
Fixes #19988
1 parent 4399beb commit 7cf1065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/module/stepper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,7 @@ void Stepper::report_positions() {
36703670

36713671
case Y_AXIS:
36723672
#if CORE_IS_XY
3673-
BABYSTEP_CORE(X, Y, !direction, 1, (CORESIGN(1)>0));
3673+
BABYSTEP_CORE(X, Y, direction, 0, (CORESIGN(1)>0));
36743674
#elif CORE_IS_YZ
36753675
BABYSTEP_CORE(Y, Z, direction, 0, (CORESIGN(1)<0));
36763676
#else
@@ -3683,7 +3683,7 @@ void Stepper::report_positions() {
36833683
case Z_AXIS: {
36843684

36853685
#if CORE_IS_XZ
3686-
BABYSTEP_CORE(X, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)<0));
3686+
BABYSTEP_CORE(X, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)>0));
36873687
#elif CORE_IS_YZ
36883688
BABYSTEP_CORE(Y, Z, direction, BABYSTEP_INVERT_Z, (CORESIGN(1)<0));
36893689
#elif DISABLED(DELTA)

0 commit comments

Comments
 (0)