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
pull/1/head
Scott Lahteine 7 years ago
parent
commit
42f9921482
  1. 2
      Marlin/src/module/endstops.cpp

2
Marlin/src/module/endstops.cpp

@ -629,6 +629,8 @@ void Endstops::update() {
#else
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
if (z_probe_enabled) PROCESS_ENDSTOP(Z, MIN);
#elif ENABLED(Z_MIN_PROBE_ENDSTOP)
if (!z_probe_enabled) PROCESS_ENDSTOP(Z, MIN);
#else
PROCESS_ENDSTOP(Z, MIN);
#endif

Loading…
Cancel
Save