Browse Source

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 years ago
parent
commit
2701dd8a17
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Configuration.h

+ 1
- 0
Marlin/Configuration.h View File

392
 
392
 
393
 
393
 
394
   // these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
394
   // these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
395
+  // X and Y offsets must be integers
395
   #define X_PROBE_OFFSET_FROM_EXTRUDER -25
396
   #define X_PROBE_OFFSET_FROM_EXTRUDER -25
396
   #define Y_PROBE_OFFSET_FROM_EXTRUDER -29
397
   #define Y_PROBE_OFFSET_FROM_EXTRUDER -29
397
   #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35
398
   #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35

Loading…
Cancel
Save