|
@@ -254,7 +254,7 @@ void home_delta() {
|
254
|
254
|
- probe_offset.z
|
255
|
255
|
#endif
|
256
|
256
|
);
|
257
|
|
- line_to_current_position(homing_feedrate(X_AXIS));
|
|
257
|
+ line_to_current_position(homing_feedrate(Z_AXIS));
|
258
|
258
|
planner.synchronize();
|
259
|
259
|
|
260
|
260
|
// Re-enable stealthChop if used. Disable diag1 pin on driver.
|
|
@@ -280,6 +280,14 @@ void home_delta() {
|
280
|
280
|
|
281
|
281
|
sync_plan_position();
|
282
|
282
|
|
|
283
|
+ #if DISABLED(DELTA_HOME_TO_SAFE_ZONE) && defined(HOMING_BACKOFF_MM)
|
|
284
|
+ constexpr xyz_float_t endstop_backoff = HOMING_BACKOFF_MM;
|
|
285
|
+ if (endstop_backoff.z) {
|
|
286
|
+ current_position.z -= ABS(endstop_backoff.z) * Z_HOME_DIR;
|
|
287
|
+ line_to_current_position(homing_feedrate(Z_AXIS));
|
|
288
|
+ }
|
|
289
|
+ #endif
|
|
290
|
+
|
283
|
291
|
if (DEBUGGING(LEVELING)) DEBUG_POS("<<< home_delta", current_position);
|
284
|
292
|
}
|
285
|
293
|
|