Browse Source

Only deploy/stow BLTouch for Z axis

Scott Lahteine 9 years ago
parent
commit
31f03c838a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -2200,7 +2200,7 @@ static void clean_up_after_endstop_or_probe_move() {
2200 2200
 static void do_homing_move(AxisEnum axis, float where, float fr_mm_s = 0.0) {
2201 2201
 
2202 2202
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
2203
-    set_bltouch_deployed(true);
2203
+    if (axis == Z_AXIS) set_bltouch_deployed(true);
2204 2204
   #endif
2205 2205
 
2206 2206
   current_position[axis] = 0;
@@ -2210,7 +2210,7 @@ static void do_homing_move(AxisEnum axis, float where, float fr_mm_s = 0.0) {
2210 2210
   stepper.synchronize();
2211 2211
 
2212 2212
   #if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
2213
-    set_bltouch_deployed(false);
2213
+    if (axis == Z_AXIS) set_bltouch_deployed(false);
2214 2214
   #endif
2215 2215
 
2216 2216
   endstops.hit_on_purpose();

Loading…
Cancel
Save