Fix Allen Key Probe pin test (#19520)

This commit is contained in:
Siana Gearz 2020-09-28 04:25:35 +02:00 committed by Scott Lahteine
parent 7f93173659
commit 33f291d769

View file

@ -270,7 +270,13 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW) #if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)
do { do {
#if ENABLED(PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED) #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 #endif
BUZZ(100, 659); BUZZ(100, 659);