z_probe.h

Thu, 07 Jul 2016 12:23:34 +0200

author
mbayer
date
Thu, 07 Jul 2016 12:23:34 +0200
changeset 2
b373b0288715
parent 0
2c8ba1964db7
permissions
-rw-r--r--

added missing sanguino files

#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