Browse Source

🔧 Set Z_PROBE_OFFSET_RANGE_MIN/MAX for MBL (#22663)

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
9ffd3ed2e4
  1. 10
      Marlin/src/inc/Conditionals_post.h

10
Marlin/src/inc/Conditionals_post.h

@ -2862,16 +2862,18 @@
/** /**
* Bed Probe dependencies * Bed Probe dependencies
*/ */
#if HAS_BED_PROBE #if EITHER(MESH_BED_LEVELING, HAS_BED_PROBE)
#if BOTH(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
#ifndef Z_PROBE_OFFSET_RANGE_MIN #ifndef Z_PROBE_OFFSET_RANGE_MIN
#define Z_PROBE_OFFSET_RANGE_MIN -20 #define Z_PROBE_OFFSET_RANGE_MIN -20
#endif #endif
#ifndef Z_PROBE_OFFSET_RANGE_MAX #ifndef Z_PROBE_OFFSET_RANGE_MAX
#define Z_PROBE_OFFSET_RANGE_MAX 20 #define Z_PROBE_OFFSET_RANGE_MAX 20
#endif #endif
#endif
#if HAS_BED_PROBE
#if BOTH(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
#ifndef XY_PROBE_FEEDRATE #ifndef XY_PROBE_FEEDRATE
#define XY_PROBE_FEEDRATE ((homing_feedrate_mm_m.x + homing_feedrate_mm_m.y) / 2) #define XY_PROBE_FEEDRATE ((homing_feedrate_mm_m.x + homing_feedrate_mm_m.y) / 2)
#endif #endif

Loading…
Cancel
Save