|
@@ -293,6 +293,21 @@
|
293
|
293
|
//#endif
|
294
|
294
|
#endif
|
295
|
295
|
|
|
296
|
+ /**
|
|
297
|
+ * Make sure Z raise values are set
|
|
298
|
+ */
|
|
299
|
+ #if defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
|
|
300
|
+ #error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_RAISE_PROBE_DEPLOY_STOW instead."
|
|
301
|
+ #elif !defined(Z_RAISE_PROBE_DEPLOY_STOW)
|
|
302
|
+ #error "You must set Z_RAISE_PROBE_DEPLOY_STOW in your configuration."
|
|
303
|
+ #elif !defined(Z_RAISE_BETWEEN_PROBINGS)
|
|
304
|
+ #error "You must set Z_RAISE_BETWEEN_PROBINGS in your configuration."
|
|
305
|
+ #elif Z_RAISE_PROBE_DEPLOY_STOW < 1
|
|
306
|
+ #error "Probes need Z_RAISE_PROBE_DEPLOY_STOW >= 1."
|
|
307
|
+ #elif Z_RAISE_BETWEEN_PROBINGS < 1
|
|
308
|
+ #error "Probes need Z_RAISE_BETWEEN_PROBINGS >= 1."
|
|
309
|
+ #endif
|
|
310
|
+
|
296
|
311
|
#else
|
297
|
312
|
|
298
|
313
|
/**
|