[2.0.x] G33 MIN_STEPS_PER_SEGMENT (#10386)

This commit is contained in:
Luc Van Daele
2018-04-13 03:22:29 +02:00
committed by Scott Lahteine
parent c96412a78f
commit 12785583d0
11 changed files with 12 additions and 10 deletions

View File

@ -1354,7 +1354,7 @@ 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