Browse Source

Fix bed probing bug without PROBE_DOUBLE_TOUCH

If `PROBE_DOUBLE_TOUCH` wasn't enabled, the probe move could be way too short! See #4701 for example.
Scott Lahteine 8 years ago
parent
commit
dd94d0b9d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2179,7 +2179,7 @@ static void clean_up_after_endstop_or_probe_move() {
2179 2179
     #endif
2180 2180
 
2181 2181
     // move down slowly to find bed
2182
-    do_probe_move(-10, Z_PROBE_SPEED_SLOW);
2182
+    do_probe_move(-(Z_MAX_LENGTH) - 10, Z_PROBE_SPEED_SLOW);
2183 2183
 
2184 2184
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2185 2185
       if (DEBUGGING(LEVELING)) DEBUG_POS("<<< run_z_probe", current_position);

Loading…
Cancel
Save