Browse Source

No limit needed on this raise

Remove an extraneous limit from #16811.
Scott Lahteine 5 years ago
parent
commit
1d8d91afc6
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Marlin/src/module/probe.cpp

+ 2
- 4
Marlin/src/module/probe.cpp View File

754
   if (!deploy()) measured_z = run_z_probe() + offset.z;
754
   if (!deploy()) measured_z = run_z_probe() + offset.z;
755
   if (!isnan(measured_z)) {
755
   if (!isnan(measured_z)) {
756
     const bool big_raise = raise_after == PROBE_PT_BIG_RAISE;
756
     const bool big_raise = raise_after == PROBE_PT_BIG_RAISE;
757
-    if (big_raise || raise_after == PROBE_PT_RAISE) {
758
-      if (current_position.z < Z_PROBE_OFFSET_RANGE_MAX) // Only raise when in probing range (else error)
759
-        do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), MMM_TO_MMS(Z_PROBE_SPEED_FAST));
760
-    }
757
+    if (big_raise || raise_after == PROBE_PT_RAISE)
758
+      do_blocking_move_to_z(current_position.z + (big_raise ? 25 : Z_CLEARANCE_BETWEEN_PROBES), MMM_TO_MMS(Z_PROBE_SPEED_FAST));
761
     else if (raise_after == PROBE_PT_STOW)
759
     else if (raise_after == PROBE_PT_STOW)
762
       if (stow()) measured_z = NAN;   // Error on stow?
760
       if (stow()) measured_z = NAN;   // Error on stow?
763
 
761
 

Loading…
Cancel
Save