mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Move the Z probe as far as needed to trigger the switch (PR#2461)
This commit is contained in:
parent
a91263f79e
commit
f209b755a5
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user