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

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