Browse Source

Followup to babystep hotfix

pull/1/head
Scott Lahteine 5 years ago
parent
commit
b9b29bf4c0
  1. 6
      Marlin/src/module/stepper.cpp

6
Marlin/src/module/stepper.cpp

@ -2564,7 +2564,7 @@ void Stepper::report_positions() {
#elif CORE_IS_XZ #elif CORE_IS_XZ
BABYSTEP_CORE(X, Z, 0, direction, 0); BABYSTEP_CORE(X, Z, 0, direction, 0);
#else #else
BABYSTEP_AXIS(X, 0, direction, 0); BABYSTEP_AXIS(X, 0, direction);
#endif #endif
break; break;
@ -2574,7 +2574,7 @@ void Stepper::report_positions() {
#elif CORE_IS_YZ #elif CORE_IS_YZ
BABYSTEP_CORE(Y, Z, 0, direction, (CORESIGN(1)<0)); BABYSTEP_CORE(Y, Z, 0, direction, (CORESIGN(1)<0));
#else #else
BABYSTEP_AXIS(Y, 0, direction, (CORESIGN(1)<0)); BABYSTEP_AXIS(Y, 0, direction);
#endif #endif
break; break;
@ -2587,7 +2587,7 @@ void Stepper::report_positions() {
#elif CORE_IS_YZ #elif CORE_IS_YZ
BABYSTEP_CORE(Y, Z, BABYSTEP_INVERT_Z, direction, (CORESIGN(1)<0)); BABYSTEP_CORE(Y, Z, BABYSTEP_INVERT_Z, direction, (CORESIGN(1)<0));
#elif DISABLED(DELTA) #elif DISABLED(DELTA)
BABYSTEP_AXIS(Z, BABYSTEP_INVERT_Z, direction, (CORESIGN(1)<0)); BABYSTEP_AXIS(Z, BABYSTEP_INVERT_Z, direction);
#else // DELTA #else // DELTA

Loading…
Cancel
Save