Move the Z probe as far as needed to trigger the switch (PR#2461)
This commit is contained in:
parent
a91263f79e
commit
f209b755a5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Reference in a new issue