Sat, 07 Nov 2015 13:23:07 +0100
Initial code from reprappro Marlin repository
#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