Fix probe height at G28 start

This commit is contained in:
Scott Lahteine 2015-04-03 18:54:55 -07:00
parent a469d796e1
commit abd7fc36b6

View file

@ -2306,7 +2306,7 @@ inline void gcode_G28() {
// raise extruder
float measured_z,
z_before = Z_RAISE_BETWEEN_PROBINGS + (probePointCounter ? current_position[Z_AXIS] : 0);
z_before = probePointCounter ? Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS] : Z_RAISE_BEFORE_PROBING;
#ifdef DELTA
// Avoid probing the corners (outside the round or hexagon print surface) on a delta printer.