Sat, 07 Nov 2015 13:24:46 +0100
several modifications to support laser enable - still needs cleanup
0 | 1 | #ifndef __Z_PROBEH |
2 | ||
3 | #define __Z_PROBEH | |
4 | #include "Marlin.h" | |
5 | ||
6 | #if defined(PROBE_PIN) && (PROBE_PIN > -1) | |
7 | void probe_init(); | |
8 | void probe_3points(); | |
9 | void probe_1point(); | |
10 | void probe_status(); | |
11 | float Probe_Bed(float x_pos, float y_pos,int n); | |
12 | ||
13 | #else //no probe pin | |
14 | FORCE_INLINE void probe_init() {}; | |
15 | FORCE_INLINE void probe_3points() {}; | |
16 | FORCE_INLINE void probe_1point() {}; | |
17 | FORCE_INLINE void probe_status() {}; | |
18 | FORCE_INLINE float Probe_Bed(float x_pos, float y_pos,int n) {return 0;} | |
19 | #endif //PROBE_PIN | |
20 | ||
21 | #endif |