🚸 BD Sensor Z axis stop height (#26015)
This commit is contained in:
@@ -2479,7 +2479,12 @@ void set_axis_is_at_home(const AxisEnum axis) {
|
||||
#if HAS_BED_PROBE && Z_HOME_TO_MIN
|
||||
if (axis == Z_AXIS) {
|
||||
#if HOMING_Z_WITH_PROBE
|
||||
current_position.z -= probe.offset.z;
|
||||
#if ENABLED(BD_SENSOR)
|
||||
safe_delay(100);
|
||||
current_position.z = bdl.read();
|
||||
#else
|
||||
current_position.z -= probe.offset.z;
|
||||
#endif
|
||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("*** Z homed with PROBE" TERN_(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN, " (Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)") " ***\n> (M851 Z", probe.offset.z, ")");
|
||||
#else
|
||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("*** Z homed to ENDSTOP ***");
|
||||
|
Reference in New Issue
Block a user