Selaa lähdekoodia

No limit needed on this raise

Remove an extraneous limit from #16811.
Scott Lahteine 4 vuotta sitten
vanhempi
commit
1d8d91afc6
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 2
    4
      Marlin/src/module/probe.cpp

+ 2
- 4
Marlin/src/module/probe.cpp Näytä tiedosto

@@ -754,10 +754,8 @@ float Probe::probe_at_point(const float &rx, const float &ry, const ProbePtRaise
754 754
   if (!deploy()) measured_z = run_z_probe() + offset.z;
755 755
   if (!isnan(measured_z)) {
756 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 759
     else if (raise_after == PROBE_PT_STOW)
762 760
       if (stow()) measured_z = NAN;   // Error on stow?
763 761
 

Loading…
Peruuta
Tallenna