Skip to content
Snippets Groups Projects
Commit 0750933b authored by Scott Lahteine's avatar Scott Lahteine Committed by GitHub
Browse files

Merge pull request #6490 from Bob-the-Kuhn/Missing-X-stop

Endstop not enabled if pin is zero
parents 5ace3699 40089249
Branches
Tags
No related merge requests found
......@@ -406,7 +406,9 @@
#endif
#endif
#define IS_Z2_OR_PROBE(P) (P == Z2_MIN_PIN || P == Z2_MAX_PIN || P == Z_MIN_PROBE_PIN)
#define IS_Z2_OR_PROBE(P) (PIN_EXISTS(Z2_MIN_PIN) && (P == Z2_MIN_PIN) \
|| PIN_EXISTS(Z2_MAX_PIN) && (P == Z2_MAX_PIN) \
|| PIN_EXISTS(Z_MIN_PROBE_PIN) && (P == Z_MIN_PROBE_PIN))
/**
* Set ENDSTOPPULLUPS for active endstop switches
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment