소스 검색

Fix probe height at G28 start

Scott Lahteine 10 년 전
부모
커밋
abd7fc36b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 파일 보기

@@ -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…
취소
저장