Skip to content

Commit

Permalink
Fix Allen Key Probe pin test (MarlinFirmware#19520)
Browse files Browse the repository at this point in the history
  • Loading branch information
siana authored and vgadreau committed Dec 9, 2020
1 parent c4d078c commit 6ae1bd1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ae1bd1

Please sign in to comment.