Browse Source

Corrected #endif and ifdef for Z_PROBE_SLED code.

Charles Bell 10 years ago
parent
commit
3b8216bdd1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

1138
 #if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
1138
 #if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
1139
   #ifndef Z_PROBE_SLED
1139
   #ifndef Z_PROBE_SLED
1140
     if (axis==Z_AXIS) retract_z_probe();
1140
     if (axis==Z_AXIS) retract_z_probe();
1141
-  #endif#
1142
-endif
1141
+  #endif
1142
+#endif
1143
 
1143
 
1144
   }
1144
   }
1145
 }
1145
 }
1193
   } //retract
1193
   } //retract
1194
 #endif //FWRETRACT
1194
 #endif //FWRETRACT
1195
 
1195
 
1196
-#ifdef ENABLE_AUTO_BED_LEVELING
1196
+#ifdef Z_PROBE_SLED
1197
 //
1197
 //
1198
 // Method to dock/undock a sled designed by Charles Bell.
1198
 // Method to dock/undock a sled designed by Charles Bell.
1199
 //
1199
 //

Loading…
Cancel
Save