|
@@ -37,6 +37,10 @@
|
37
|
37
|
#include "../lcd/ultralcd.h"
|
38
|
38
|
#include "../Marlin.h"
|
39
|
39
|
|
|
40
|
+#if HAS_BED_PROBE
|
|
41
|
+ #include "probe.h"
|
|
42
|
+#endif
|
|
43
|
+
|
40
|
44
|
#if ENABLED(SENSORLESS_HOMING)
|
41
|
45
|
#include "../feature/tmc_util.h"
|
42
|
46
|
#include "stepper_indirection.h"
|
|
@@ -229,7 +233,11 @@ void home_delta() {
|
229
|
233
|
#endif
|
230
|
234
|
|
231
|
235
|
// Move all carriages together linearly until an endstop is hit.
|
232
|
|
- destination[Z_AXIS] = (delta_height + 10);
|
|
236
|
+ destination[Z_AXIS] = (delta_height
|
|
237
|
+ #if HAS_BED_PROBE
|
|
238
|
+ - zprobe_zoffset
|
|
239
|
+ #endif
|
|
240
|
+ + 10);
|
233
|
241
|
buffer_line_to_destination(homing_feedrate(X_AXIS));
|
234
|
242
|
planner.synchronize();
|
235
|
243
|
|