소스 검색

Due to the fix for #1248, X and Y probe offsets must not be floats.

The compiler does not support comparing float values: "error: floating constant in preprocessor expression"
The loss in X/Y precision shouldn't matter for Z probes, as most microswitches or inductive sensors are larger than 1mm square anyway.
Lane Roberts 10 년 전
부모
커밋
2701dd8a17
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      Marlin/Configuration.h

+ 1
- 0
Marlin/Configuration.h 파일 보기

@@ -392,6 +392,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
392 392
 
393 393
 
394 394
   // these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
395
+  // X and Y offsets must be integers
395 396
   #define X_PROBE_OFFSET_FROM_EXTRUDER -25
396 397
   #define Y_PROBE_OFFSET_FROM_EXTRUDER -29
397 398
   #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35

Loading…
취소
저장