Don't include `zprobe_zoffset` in `do_probe_raise`

master
Scott Lahteine 8 years ago
parent 4cf66cfa62
commit 445458c221

@ -1802,10 +1802,6 @@ static void clean_up_after_endstop_or_probe_move() {
} }
#endif #endif
float z_dest = LOGICAL_Z_POSITION(z_raise); float z_dest = LOGICAL_Z_POSITION(z_raise);
if (zprobe_zoffset < 0)
z_dest -= zprobe_zoffset;
if (z_dest > current_position[Z_AXIS]) if (z_dest > current_position[Z_AXIS])
do_blocking_move_to_z(z_dest); do_blocking_move_to_z(z_dest);
} }

Loading…
Cancel
Save