Fri, 17 Nov 2017 10:13:31 +0100
proper configuration, homing and planner optimization
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 |