Tweaks to endstops code

This commit is contained in:
Scott Lahteine
2018-11-30 14:25:43 -06:00
parent 3c58b16c9f
commit e874f9664c
2 changed files with 34 additions and 33 deletions

View File

@ -1550,10 +1550,8 @@ void homeaxis(const AxisEnum axis) {
do_homing_move(axis, delta_endstop_adj[axis] - (MIN_STEPS_PER_SEGMENT + 1) * planner.steps_to_mm[axis] * Z_HOME_DIR);
}
#else
#else // CARTESIAN / CORE
// For cartesian/core machines,
// set the axis to its home position
set_axis_is_at_home(axis);
sync_plan_position();