Merge pull request #3587 from thinkyhead/rc_z_safe_homing_deps
Define dependencies for Z_SAFE_HOMING if left out
This commit is contained in:
commit
92ab2c7dd8
|
@ -367,6 +367,24 @@
|
|||
#define Z_SAFE_HOMING
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Z Safe Homing dependencies
|
||||
*/
|
||||
#if ENABLED(Z_SAFE_HOMING)
|
||||
#ifndef X_PROBE_OFFSET_FROM_EXTRUDER
|
||||
#define X_PROBE_OFFSET_FROM_EXTRUDER 0
|
||||
#endif
|
||||
#ifndef Y_PROBE_OFFSET_FROM_EXTRUDER
|
||||
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0
|
||||
#endif
|
||||
#ifndef Z_PROBE_OFFSET_FROM_EXTRUDER
|
||||
#define Z_PROBE_OFFSET_FROM_EXTRUDER 0
|
||||
#endif
|
||||
#ifndef XY_TRAVEL_SPEED
|
||||
#define XY_TRAVEL_SPEED 4000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable MECHANICAL_PROBE for Z_PROBE_ALLEN_KEY, for older configs
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue