Browse Source

Corrected #endif and ifdef for Z_PROBE_SLED code.

pull/1/head
Charles Bell 10 years ago
parent
commit
3b8216bdd1
  1. 6
      Marlin/Marlin_main.cpp

6
Marlin/Marlin_main.cpp

@ -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.
// //

Loading…
Cancel
Save