0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-19 16:16:13 +00:00

🐛 Fix Babystepping for CoreXZ

Fixes #19988
This commit is contained in:
Scott Lahteine 2023-05-07 21:25:53 -05:00
parent d3ee4eecdf
commit f207177098

View file

@ -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)