From 1d8d91afc66c10ebf007399b2c4e2dc57fef89d9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 12 Feb 2020 14:57:00 -0600 Subject: [PATCH] No limit needed on this raise Remove an extraneous limit from #16811. --- Marlin/src/module/probe.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Marlin/src/module/probe.cpp b/Marlin/src/module/probe.cpp index f01599cdc..cf74d464f 100644 --- a/Marlin/src/module/probe.cpp +++ b/Marlin/src/module/probe.cpp @@ -754,10 +754,8 @@ float Probe::probe_at_point(const float &rx, const float &ry, const ProbePtRaise if (!deploy()) measured_z = run_z_probe() + offset.z; if (!isnan(measured_z)) { const bool big_raise = raise_after == PROBE_PT_BIG_RAISE; - if (big_raise || raise_after == PROBE_PT_RAISE) { - if (current_position.z < Z_PROBE_OFFSET_RANGE_MAX) // Only raise when in probing range (else error) - do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), MMM_TO_MMS(Z_PROBE_SPEED_FAST)); - } + if (big_raise || raise_after == PROBE_PT_RAISE) + do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), MMM_TO_MMS(Z_PROBE_SPEED_FAST)); else if (raise_after == PROBE_PT_STOW) if (stow()) measured_z = NAN; // Error on stow?