Add Z_CLEARANCE_MULTI_PROBE

Co-Authored-By: nightgryphon <ngryph@gmail.com>
This commit is contained in:
Scott Lahteine
2018-07-12 21:36:24 -05:00
parent fd8a76493b
commit 25e2ca8896
5 changed files with 18 additions and 10 deletions

View File

@ -584,7 +584,7 @@ static float run_z_probe() {
#endif
// move up to make clearance for the probe
do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_MULTI_PROBE, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
#else
@ -618,7 +618,7 @@ static float run_z_probe() {
#if MULTIPLE_PROBING > 2
probes_total += current_position[Z_AXIS];
if (p > 1) do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_BETWEEN_PROBES, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
if (p > 1) do_blocking_move_to_z(current_position[Z_AXIS] + Z_CLEARANCE_MULTI_PROBE, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
}
#endif