Commit 0ab2ab1 1 parent 9f28944 commit 0ab2ab1 Copy full SHA for 0ab2ab1
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2862
2862
/**
2863
2863
* Bed Probe dependencies
2864
2864
*/
2865
- #if HAS_BED_PROBE
2866
- #if BOTH (ENDSTOPPULLUPS , HAS_Z_MIN_PROBE_PIN )
2867
- #define ENDSTOPPULLUP_ZMIN_PROBE
2868
- #endif
2865
+ #if EITHER (MESH_BED_LEVELING , HAS_BED_PROBE )
2869
2866
#ifndef Z_PROBE_OFFSET_RANGE_MIN
2870
2867
#define Z_PROBE_OFFSET_RANGE_MIN -20
2871
2868
#endif
2872
2869
#ifndef Z_PROBE_OFFSET_RANGE_MAX
2873
2870
#define Z_PROBE_OFFSET_RANGE_MAX 20
2874
2871
#endif
2872
+ #endif
2873
+ #if HAS_BED_PROBE
2874
+ #if BOTH (ENDSTOPPULLUPS , HAS_Z_MIN_PROBE_PIN )
2875
+ #define ENDSTOPPULLUP_ZMIN_PROBE
2876
+ #endif
2875
2877
#ifndef XY_PROBE_FEEDRATE
2876
2878
#define XY_PROBE_FEEDRATE ((homing_feedrate_mm_m.x + homing_feedrate_mm_m.y) / 2)
2877
2879
#endif
You can’t perform that action at this time.
0 commit comments