z_probe.h

Fri, 17 Nov 2017 10:13:31 +0100

author
mdd
date
Fri, 17 Nov 2017 10:13:31 +0100
changeset 3
770b218a4931
parent 0
2c8ba1964db7
permissions
-rw-r--r--

proper configuration, homing and planner optimization

#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

mercurial