Browse Source

Ignore Z min endstop with separate Z-probe

To allow for the case where a Z endstop (e.g., hall effect) is higher than the probe trigger point, don't check the Z min endstop during probe moves. See #11134
Scott Lahteine 7 years ago
parent
commit
42f9921482
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/src/module/endstops.cpp

+ 2
- 0
Marlin/src/module/endstops.cpp View File

629
         #else
629
         #else
630
           #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
630
           #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
631
             if (z_probe_enabled) PROCESS_ENDSTOP(Z, MIN);
631
             if (z_probe_enabled) PROCESS_ENDSTOP(Z, MIN);
632
+          #elif ENABLED(Z_MIN_PROBE_ENDSTOP)
633
+            if (!z_probe_enabled) PROCESS_ENDSTOP(Z, MIN);
632
           #else
634
           #else
633
             PROCESS_ENDSTOP(Z, MIN);
635
             PROCESS_ENDSTOP(Z, MIN);
634
           #endif
636
           #endif

Loading…
Cancel
Save