Define probe offsets when a probe exists
This commit is contained in:
parent
1000563d80
commit
a8b8796cd7
@ -383,24 +383,6 @@
|
||||
#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
|
||||
|
||||
/**
|
||||
* Host keep alive
|
||||
*/
|
||||
@ -785,6 +767,30 @@
|
||||
|
||||
#define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
|
||||
|
||||
/**
|
||||
* Probe dependencies
|
||||
*/
|
||||
#if HAS_BED_PROBE
|
||||
#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 Z_PROBE_OFFSET_RANGE_MIN
|
||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||
#endif
|
||||
#ifndef Z_PROBE_OFFSET_RANGE_MAX
|
||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||
#endif
|
||||
#ifndef XY_TRAVEL_SPEED
|
||||
#define XY_TRAVEL_SPEED 4000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Delta radius/rod trimmers
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user