Merge pull request #3587 from thinkyhead/rc_z_safe_homing_deps

Define dependencies for Z_SAFE_HOMING if left out
2.0.x
Scott Lahteine 9 years ago
commit 92ab2c7dd8

@ -367,6 +367,24 @@
#define Z_SAFE_HOMING #define Z_SAFE_HOMING
#endif #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 * Enable MECHANICAL_PROBE for Z_PROBE_ALLEN_KEY, for older configs
*/ */

Loading…
Cancel
Save