|
@@ -1308,13 +1308,19 @@
|
1308
|
1308
|
#define Z_HOMING_HEIGHT Z_CLEARANCE_BETWEEN_PROBES
|
1309
|
1309
|
#endif
|
1310
|
1310
|
#endif
|
1311
|
|
-#ifndef Z_CLEARANCE_BETWEEN_PROBES
|
1312
|
|
- #define Z_CLEARANCE_BETWEEN_PROBES Z_HOMING_HEIGHT
|
1313
|
|
-#endif
|
1314
|
|
-#if Z_CLEARANCE_BETWEEN_PROBES > Z_HOMING_HEIGHT
|
1315
|
|
- #define MANUAL_PROBE_HEIGHT Z_CLEARANCE_BETWEEN_PROBES
|
1316
|
|
-#else
|
1317
|
|
- #define MANUAL_PROBE_HEIGHT Z_HOMING_HEIGHT
|
|
1311
|
+
|
|
1312
|
+#if PROBE_SELECTED
|
|
1313
|
+ #ifndef Z_CLEARANCE_BETWEEN_PROBES
|
|
1314
|
+ #define Z_CLEARANCE_BETWEEN_PROBES Z_HOMING_HEIGHT
|
|
1315
|
+ #endif
|
|
1316
|
+ #if Z_CLEARANCE_BETWEEN_PROBES > Z_HOMING_HEIGHT
|
|
1317
|
+ #define MANUAL_PROBE_HEIGHT Z_CLEARANCE_BETWEEN_PROBES
|
|
1318
|
+ #else
|
|
1319
|
+ #define MANUAL_PROBE_HEIGHT Z_HOMING_HEIGHT
|
|
1320
|
+ #endif
|
|
1321
|
+ #ifndef Z_CLEARANCE_MULTI_PROBE
|
|
1322
|
+ #define Z_CLEARANCE_MULTI_PROBE Z_CLEARANCE_BETWEEN_PROBES
|
|
1323
|
+ #endif
|
1318
|
1324
|
#endif
|
1319
|
1325
|
|
1320
|
1326
|
#ifndef __SAM3X8E__ //todo: hal: broken hal encapsulation
|