Browse Source

Define dependencies for Z_SAFE_HOMING if left out

pull/1/head
Scott Lahteine 9 years ago
parent
commit
63142eef40
  1. 18
      Marlin/Conditionals.h

18
Marlin/Conditionals.h

@ -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…
Cancel
Save