Browse Source

Fix "probing failed" false positives (#18435)

JP Flouret 5 years ago
parent
commit
31349fd69a
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/probe.cpp

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

544
 
544
 
545
     // Do a first probe at the fast speed
545
     // Do a first probe at the fast speed
546
     if (try_to_probe(PSTR("FAST"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_FAST),
546
     if (try_to_probe(PSTR("FAST"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_FAST),
547
-                     sanity_check, _MAX(Z_CLEARANCE_BETWEEN_PROBES, 4) / 2) ) return NAN;
547
+                     sanity_check, Z_CLEARANCE_BETWEEN_PROBES) ) return NAN;
548
 
548
 
549
     const float first_probe_z = current_position.z;
549
     const float first_probe_z = current_position.z;
550
 
550
 
582
     {
582
     {
583
       // Probe downward slowly to find the bed
583
       // Probe downward slowly to find the bed
584
       if (try_to_probe(PSTR("SLOW"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_SLOW),
584
       if (try_to_probe(PSTR("SLOW"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_SLOW),
585
-                       sanity_check, _MAX(Z_CLEARANCE_MULTI_PROBE, 4) / 2) ) return NAN;
585
+                       sanity_check, Z_CLEARANCE_MULTI_PROBE) ) return NAN;
586
 
586
 
587
       TERN_(MEASURE_BACKLASH_WHEN_PROBING, backlash.measure_with_probe());
587
       TERN_(MEASURE_BACKLASH_WHEN_PROBING, backlash.measure_with_probe());
588
 
588
 

Loading…
Cancel
Save