Browse Source

Only deploy/stow BLTouch for Z axis

pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
31f03c838a
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -2200,7 +2200,7 @@ static void clean_up_after_endstop_or_probe_move() {
static void do_homing_move(AxisEnum axis, float where, float fr_mm_s = 0.0) {
#if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
set_bltouch_deployed(true);
if (axis == Z_AXIS) set_bltouch_deployed(true);
#endif
current_position[axis] = 0;
@ -2210,7 +2210,7 @@ static void do_homing_move(AxisEnum axis, float where, float fr_mm_s = 0.0) {
stepper.synchronize();
#if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
set_bltouch_deployed(false);
if (axis == Z_AXIS) set_bltouch_deployed(false);
#endif
endstops.hit_on_purpose();

Loading…
Cancel
Save