Disable move to center when homing z axis
This commit is contained in:
parent
df96e3121e
commit
cd3b57ff00
@ -122,6 +122,7 @@
|
|||||||
/**
|
/**
|
||||||
* Move the Z probe (or just the nozzle) to the safe homing point
|
* Move the Z probe (or just the nozzle) to the safe homing point
|
||||||
* (Z is already at the right height)
|
* (Z is already at the right height)
|
||||||
|
* Home at current position if CNC Router
|
||||||
*/
|
*/
|
||||||
constexpr xy_float_t safe_homing_xy = { Z_SAFE_HOMING_X_POINT, Z_SAFE_HOMING_Y_POINT };
|
constexpr xy_float_t safe_homing_xy = { Z_SAFE_HOMING_X_POINT, Z_SAFE_HOMING_Y_POINT };
|
||||||
#if HAS_HOME_OFFSET
|
#if HAS_HOME_OFFSET
|
||||||
@ -131,7 +132,9 @@
|
|||||||
constexpr xy_float_t okay_homing_xy = safe_homing_xy;
|
constexpr xy_float_t okay_homing_xy = safe_homing_xy;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if DISABLED(IS_CNC_ROUTER)
|
||||||
destination.set(okay_homing_xy, current_position.z);
|
destination.set(okay_homing_xy, current_position.z);
|
||||||
|
#endif
|
||||||
|
|
||||||
TERN_(HOMING_Z_WITH_PROBE, destination -= probe.offset_xy);
|
TERN_(HOMING_Z_WITH_PROBE, destination -= probe.offset_xy);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user