Browse Source

Merge pull request #1065 from oliasmage/Marlin_v1

Corrected retract() call for use of auto probe without sled enabled.
galexander1 9 years ago
parent
commit
cb4a6dd2dc
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/Marlin_main.cpp

+ 3
- 1
Marlin/Marlin_main.cpp View File

@@ -1202,7 +1202,9 @@ static void homeaxis(int axis) {
1202 1202
       }
1203 1203
     #endif
1204 1204
 #if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
1205
-//    if (axis==Z_AXIS) retract_z_probe();
1205
+  #ifndef Z_PROBE_SLED
1206
+    if (axis==Z_AXIS) retract_z_probe();
1207
+  #endif
1206 1208
 #endif
1207 1209
 
1208 1210
   }

Loading…
Cancel
Save