Browse Source

Fix build for non-sled bed auto levelling

This function should only be used with sled, not all bed auto
levelling.
Bracken Dawson 10 years ago
parent
commit
01e9b536cb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -1268,7 +1268,7 @@ void refresh_cmd_timeout(void)
1268 1268
   } //retract
1269 1269
 #endif //FWRETRACT
1270 1270
 
1271
-#ifdef ENABLE_AUTO_BED_LEVELING
1271
+#ifdef Z_PROBE_SLED
1272 1272
 //
1273 1273
 // Method to dock/undock a sled designed by Charles Bell.
1274 1274
 //

Loading…
Cancel
Save