From edeb58288e4a0b0d0bb2b69bf02b6b27f98eff01 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 3 Aug 2015 12:31:17 -0700 Subject: [PATCH] Use PIN_EXISTS in sanity check --- Marlin/SanityCheck.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index 14368839a..78aac3cae 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -146,7 +146,7 @@ * Require a Z Probe Pin if Z_PROBE_ENDSTOP is enabled. */ #if ENABLED(Z_PROBE_ENDSTOP) - #ifndef Z_PROBE_PIN + #if !PIN_EXISTS(Z_PROBE) #error You must have a Z_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_PROBE_ENDSTOP. #endif #if Z_PROBE_PIN == -1