Browse Source

Corrected retract() call for use of auto probe without sled enabled.

Charles Bell 10 years ago
parent
commit
37799f70ba
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/Marlin_main.cpp

+ 4
- 2
Marlin/Marlin_main.cpp View File

1136
       }
1136
       }
1137
     #endif
1137
     #endif
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
-//    if (axis==Z_AXIS) retract_z_probe();
1140
-#endif
1139
+  #ifndef Z_PROBE_SLED
1140
+    if (axis==Z_AXIS) retract_z_probe();
1141
+  #endif#
1142
+endif
1141
 
1143
 
1142
   }
1144
   }
1143
 }
1145
 }

Loading…
Cancel
Save