@@ -762,7 +762,7 @@ void FTMotion::convertToSteps(const uint32_t idx) {
762
762
#if ENABLED(STEPS_ROUNDING)
763
763
#define TOSTEPS (A,B ) int32_t (trajMod.A[idx] * planner.settings.axis_steps_per_mm[B] + (trajMod.A[idx] < 0 .0f ? -0 .5f : 0 .5f ))
764
764
const xyze_long_t steps_tar = LOGICAL_AXIS_ARRAY (
765
- TOSTEPS (e, E_AXIS_N (current_block->extruder )), // May be eliminated if guaranteed positive.
765
+ TOSTEPS (e, E_AXIS_N (stepper. current_block ->extruder )), // May be eliminated if guaranteed positive.
766
766
TOSTEPS (x, X_AXIS), TOSTEPS (y, Y_AXIS), TOSTEPS (z, Z_AXIS),
767
767
TOSTEPS (i, I_AXIS), TOSTEPS (j, J_AXIS), TOSTEPS (k, K_AXIS),
768
768
TOSTEPS (u, U_AXIS), TOSTEPS (v, V_AXIS), TOSTEPS (w, W_AXIS)
@@ -771,7 +771,7 @@ void FTMotion::convertToSteps(const uint32_t idx) {
771
771
#else
772
772
#define TOSTEPS (A,B ) int32_t (trajMod.A[idx] * planner.settings.axis_steps_per_mm[B]) - steps.A
773
773
xyze_long_t delta = LOGICAL_AXIS_ARRAY (
774
- TOSTEPS (e, E_AXIS_N (current_block->extruder )),
774
+ TOSTEPS (e, E_AXIS_N (stepper. current_block ->extruder )),
775
775
TOSTEPS (x, X_AXIS), TOSTEPS (y, Y_AXIS), TOSTEPS (z, Z_AXIS),
776
776
TOSTEPS (i, I_AXIS), TOSTEPS (j, J_AXIS), TOSTEPS (k, K_AXIS),
777
777
TOSTEPS (u, U_AXIS), TOSTEPS (v, V_AXIS), TOSTEPS (w, W_AXIS)
0 commit comments