Browse Source

Fix Allen Key Probe pin test (#19520)

vanilla_fb_2.0.x
Siana Gearz 4 years ago
committed by Scott Lahteine
parent
commit
33f291d769
  1. 8
      Marlin/src/module/probe.cpp

8
Marlin/src/module/probe.cpp

@ -270,7 +270,13 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)
do {
#if ENABLED(PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED)
if (deploy == (READ(Z_MIN_PROBE_PIN) == Z_MIN_PROBE_ENDSTOP_INVERTING)) break;
if (deploy == (
#if HAS_CUSTOM_PROBE_PIN
READ(Z_MIN_PROBE_PIN) == Z_MIN_PROBE_ENDSTOP_INVERTING
#else
READ(Z_MIN_PIN) == Z_MIN_ENDSTOP_INVERTING
#endif
)) break;
#endif
BUZZ(100, 659);

Loading…
Cancel
Save