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);
target[axis] = distance;
#if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
#if HAS_DIST_MM_ARG
const xyze_float_t cart_dist_mm{0};
#endif
// Set delta/cartesian axes directly
planner.buffer_segment(target
#if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
#if HAS_DIST_MM_ARG
, cart_dist_mm
#endif
, real_fr_mm_s, active_extruder