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