motion.cpp: HAS_DIST_MM_ARG

2.0.x
Scott Lahteine 5 years ago
parent 0175189c34
commit dd6781217a

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

Loading…
Cancel
Save