|
@@ -106,8 +106,16 @@
|
106
|
106
|
#if Z_PROBE_PIN == -1
|
107
|
107
|
#error You must have a Z_PROBE_PIN defined if you enable Z_PROBE_AND_ENDSTOP
|
108
|
108
|
#endif
|
|
109
|
+ #ifndef (NUM_SERVOS)
|
|
110
|
+ #error You must have NUM_SERVOS defined and there must be at least 1 configured to use Z_PROBE_AND_ENDSTOP
|
|
111
|
+ #endif
|
|
112
|
+ #if defined(NUM_SERVOS) && NUM_SERVOS < 1
|
|
113
|
+ #error You must have at least 1 servo defined for NUM_SERVOS to use Z_PROBE_AND_ENDSTOP
|
|
114
|
+ #endif
|
|
115
|
+ #ifndef SERVO_ENDSTOPS
|
|
116
|
+ #error You must have SERVO_ENDSTOPS defined and have the Z index set to at least 1 to use Z_PROBE_AND_ENDSTOP
|
|
117
|
+ #endif
|
109
|
118
|
#endif
|
110
|
|
-
|
111
|
119
|
/**
|
112
|
120
|
* Check if Probe_Offset * Grid Points is greater than Probing Range
|
113
|
121
|
*/
|