Browse Source

Merge pull request #1798 from thinkyhead/fixup_probing

Fix probe height at G28 start
Scott Lahteine 10 years ago
parent
commit
8f893eb8df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save