Merge pull request #11233 from nightgryphon/multiprobe-z-up

[1.1.x] Shorter Z raise between multiple probes
This commit is contained in:
Scott Lahteine 2018-07-12 22:44:25 -05:00 committed by GitHub
commit d60b2e5ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 78 additions and 12 deletions

View file

@ -2294,7 +2294,7 @@ void clean_up_after_endstop_or_probe_move() {
#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
@ -2328,7 +2328,7 @@ void clean_up_after_endstop_or_probe_move() {
#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