1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Merge pull request #1798 from thinkyhead/fixup_probing

Fix probe height at G28 start
This commit is contained in:
Scott Lahteine 2015-04-03 19:03:00 -07:00
commit 8f893eb8df

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.