mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
Use the probe travel height for pre-probe move
Instead of using the home_bump for Z to move close to the bed before doing a slow probe, use the probe travel height.
This commit is contained in:
parent
dd94d0b9d5
commit
0729a8f08d
@ -2171,9 +2171,10 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||
|
||||
#else
|
||||
|
||||
// move fast, close to the bed
|
||||
float z = LOGICAL_Z_POSITION(home_bump_mm(Z_AXIS));
|
||||
if (zprobe_zoffset < 0) z -= zprobe_zoffset;
|
||||
// If the nozzle is above the travel height then
|
||||
// move down quickly before doing the slow probe
|
||||
float z = LOGICAL_Z_POSITION(Z_PROBE_TRAVEL_HEIGHT);
|
||||
if (z < current_position[Z_AXIS])
|
||||
do_blocking_move_to_z(z, MMM_TO_MMS(Z_PROBE_SPEED_FAST));
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user