diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index 3ccfe57f7..d732dbccc 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -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 */