Skip to content

Commit

Permalink
Define dependencies for Z_SAFE_HOMING if left out
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 21, 2016
1 parent ce141de commit 63142ee
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Marlin/Conditionals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 63142ee

Please sign in to comment.