Browse Source

Match bltouch test in do_homing_move with new code

Scott Lahteine 8 years ago
parent
commit
041d127cd3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2199,7 +2199,7 @@ static void clean_up_after_endstop_or_probe_move() {
2199 2199
 static void do_homing_move(const AxisEnum axis, float distance, float fr_mm_s=0.0) {
2200 2200
 
2201 2201
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
2202
-    bool deploy_bltouch = (axis == Z_AXIS && where < 0);
2202
+    bool deploy_bltouch = (axis == Z_AXIS && distance < 0);
2203 2203
     if (deploy_bltouch) set_bltouch_deployed(true);
2204 2204
   #endif
2205 2205
 

Loading…
Cancel
Save