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

0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1 #ifndef __Z_PROBEH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
3 #define __Z_PROBEH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
4 #include "Marlin.h"
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
6 #if defined(PROBE_PIN) && (PROBE_PIN > -1)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
7 void probe_init();
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
8 void probe_3points();
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
9 void probe_1point();
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
10 void probe_status();
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
11 float Probe_Bed(float x_pos, float y_pos,int n);
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
12
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
13 #else //no probe pin
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
14 FORCE_INLINE void probe_init() {};
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
15 FORCE_INLINE void probe_3points() {};
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
16 FORCE_INLINE void probe_1point() {};
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
17 FORCE_INLINE void probe_status() {};
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
18 FORCE_INLINE float Probe_Bed(float x_pos, float y_pos,int n) {return 0;}
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
19 #endif //PROBE_PIN
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
20
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
21 #endif

mercurial