aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'touchpad.h')
-rw-r--r--touchpad.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/touchpad.h b/touchpad.h
index 2078405a..b8572f0b 100644
--- a/touchpad.h
+++ b/touchpad.h
@@ -18,6 +18,11 @@ struct cal {
float yn;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/*
* Description: initializes touchpad (SPI)
*
@@ -74,5 +79,9 @@ uint16_t tpReadZ(void);
*/
void tpCalibrate(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif