🚸 BD Sensor Z axis stop height (#26015)
This commit is contained in:
parent
205a679959
commit
ffef8f1b29
5 changed files with 27 additions and 13 deletions
|
|
@ -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 ***");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue