|
@@ -103,8 +103,11 @@
|
103
|
103
|
* Require a Z Probe Pin if Z_PROBE_AND_ENDSTOP is enabled.
|
104
|
104
|
*/
|
105
|
105
|
#if defined(Z_PROBE_AND_ENDSTOP)
|
|
106
|
+ #ifndef Z_PROBE_PIN
|
|
107
|
+ #error You must have a Z_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_PROBE_AND_ENDSTOP
|
|
108
|
+ #endif
|
106
|
109
|
#if Z_PROBE_PIN == -1
|
107
|
|
- #error You must have a Z_PROBE_PIN defined if you enable Z_PROBE_AND_ENDSTOP
|
|
110
|
+ #error You must set Z_PROBE_PIN to a valid pin if you enable Z_PROBE_AND_ENDSTOP
|
108
|
111
|
#endif
|
109
|
112
|
#ifndef NUM_SERVOS
|
110
|
113
|
#error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_PROBE_AND_ENDSTOP
|