Browse Source

Move the Z probe as far as needed to trigger the switch (PR#2461)

pull/1/head
Scott Lahteine 9 years ago
committed by Richard Wackerbarth
parent
commit
f209b755a5
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -1229,7 +1229,7 @@ static void setup_for_endstop_move() {
feedrate = homing_feedrate[Z_AXIS]; feedrate = homing_feedrate[Z_AXIS];
// Move down until the probe (or endstop?) is triggered // Move down until the probe (or endstop?) is triggered
float zPosition = -10; float zPosition = -(Z_MAX_LENGTH + 10);
line_to_z(zPosition); line_to_z(zPosition);
st_synchronize(); st_synchronize();

Loading…
Cancel
Save