Corrected #endif and ifdef for Z_PROBE_SLED code.

This commit is contained in:
Charles Bell 2014-09-04 16:40:22 -04:00
parent 37799f70ba
commit 3b8216bdd1

View File

@ -1138,8 +1138,8 @@ static void homeaxis(int axis) {
#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0) #if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
#ifndef Z_PROBE_SLED #ifndef Z_PROBE_SLED
if (axis==Z_AXIS) retract_z_probe(); if (axis==Z_AXIS) retract_z_probe();
#endif# #endif
endif #endif
} }
} }
@ -1193,7 +1193,7 @@ void refresh_cmd_timeout(void)
} //retract } //retract
#endif //FWRETRACT #endif //FWRETRACT
#ifdef ENABLE_AUTO_BED_LEVELING #ifdef Z_PROBE_SLED
// //
// Method to dock/undock a sled designed by Charles Bell. // Method to dock/undock a sled designed by Charles Bell.
// //