Merge pull request #1065 from oliasmage/Marlin_v1

Corrected retract() call for use of auto probe without sled enabled.
This commit is contained in:
galexander1 2014-09-19 15:12:09 -04:00
commit cb4a6dd2dc

View File

@ -1202,7 +1202,9 @@ 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
if (axis==Z_AXIS) retract_z_probe();
#endif
#endif #endif
} }