z_probe.h

Sat, 07 Nov 2015 13:24:46 +0100

author
mbayer
date
Sat, 07 Nov 2015 13:24:46 +0100
changeset 1
b584642d4f58
parent 0
2c8ba1964db7
permissions
-rw-r--r--

several modifications to support laser enable - still needs cleanup

#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