|
@@ -1586,7 +1586,7 @@ static void set_axis_is_at_home(AxisEnum axis) {
|
1586
|
1586
|
|
1587
|
1587
|
if (axis == Z_AXIS) {
|
1588
|
1588
|
#if HAS_BED_PROBE && Z_HOME_DIR < 0
|
1589
|
|
- #if DISABLED(Z_MIN_PROBE_ENDSTOP)
|
|
1589
|
+ #if HOMING_Z_WITH_PROBE
|
1590
|
1590
|
current_position[Z_AXIS] -= zprobe_zoffset;
|
1591
|
1591
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1592
|
1592
|
if (DEBUGGING(LEVELING)) {
|
|
@@ -2449,7 +2449,7 @@ static void homeaxis(AxisEnum axis) {
|
2449
|
2449
|
home_dir(axis);
|
2450
|
2450
|
|
2451
|
2451
|
// Homing Z towards the bed? Deploy the Z probe or endstop.
|
2452
|
|
- #if HAS_BED_PROBE && Z_HOME_DIR < 0 && DISABLED(Z_MIN_PROBE_ENDSTOP)
|
|
2452
|
+ #if HOMING_Z_WITH_PROBE
|
2453
|
2453
|
if (axis == Z_AXIS) {
|
2454
|
2454
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2455
|
2455
|
if (DEBUGGING(LEVELING)) SERIAL_ECHOPGM("> ");
|