motion.cpp: HAS_DIST_MM_ARG

This commit is contained in:
Scott Lahteine 2020-03-25 19:21:48 -05:00
parent 0175189c34
commit dd6781217a

View File

@ -1345,13 +1345,13 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
planner.set_machine_position_mm(target); planner.set_machine_position_mm(target);
target[axis] = distance; target[axis] = distance;
#if IS_KINEMATIC && DISABLED(CLASSIC_JERK) #if HAS_DIST_MM_ARG
const xyze_float_t cart_dist_mm{0}; const xyze_float_t cart_dist_mm{0};
#endif #endif
// Set delta/cartesian axes directly // Set delta/cartesian axes directly
planner.buffer_segment(target planner.buffer_segment(target
#if IS_KINEMATIC && DISABLED(CLASSIC_JERK) #if HAS_DIST_MM_ARG
, cart_dist_mm , cart_dist_mm
#endif #endif
, real_fr_mm_s, active_extruder , real_fr_mm_s, active_extruder