--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/z_probe.h Sat Nov 07 13:23:07 2015 +0100 @@ -0,0 +1,21 @@ +#ifndef __Z_PROBEH + +#define __Z_PROBEH +#include "Marlin.h" + +#if defined(PROBE_PIN) && (PROBE_PIN > -1) + void probe_init(); + void probe_3points(); + void probe_1point(); + void probe_status(); + float Probe_Bed(float x_pos, float y_pos,int n); + +#else //no probe pin + FORCE_INLINE void probe_init() {}; + FORCE_INLINE void probe_3points() {}; + FORCE_INLINE void probe_1point() {}; + FORCE_INLINE void probe_status() {}; + FORCE_INLINE float Probe_Bed(float x_pos, float y_pos,int n) {return 0;} +#endif //PROBE_PIN + +#endif