Fix Allen Key Probe pin test (#19520)
This commit is contained in:
parent
7f93173659
commit
33f291d769
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue