[1.1.x] G33 MIN_STEPS_PER_SEGMENT (#10385)

This commit is contained in:
Luc Van Daele 2018-04-13 03:19:42 +02:00 committed by Scott Lahteine
parent db81a1d4a2
commit 6e30d1bef1
11 changed files with 12 additions and 10 deletions

View file

@ -3095,7 +3095,7 @@ static void homeaxis(const AxisEnum axis) {
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("delta_endstop_adj:");
#endif
do_homing_move(axis, delta_endstop_adj[axis] - MIN_STEPS_PER_SEGMENT / planner.axis_steps_per_mm[axis] * Z_HOME_DIR);
do_homing_move(axis, delta_endstop_adj[axis] - (MIN_STEPS_PER_SEGMENT + 1) * planner.steps_to_mm[axis] * Z_HOME_DIR);
}
#else