Corrected retract() call for use of auto probe without sled enabled.
This commit is contained in:
parent
e7707aedbc
commit
37799f70ba
1 changed files with 4 additions and 2 deletions
|
@ -1136,8 +1136,10 @@ static void homeaxis(int axis) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
|
#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
|
||||||
// if (axis==Z_AXIS) retract_z_probe();
|
#ifndef Z_PROBE_SLED
|
||||||
#endif
|
if (axis==Z_AXIS) retract_z_probe();
|
||||||
|
#endif#
|
||||||
|
endif
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue