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

This commit is contained in:
Scott Lahteine 2015-07-16 17:44:45 -07:00 committed by Richard Wackerbarth
parent a91263f79e
commit f209b755a5

View file

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