aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-19 12:15:28 -0700
committerTectu <joel@unormal.org>2012-06-19 12:15:28 -0700
commitecf0fceb195395a51aa7eef07932da0174fcff86 (patch)
treeb1fd1683d81811e3a8ec2c52ba56913fb5dff0be /touchpad.h
parent6e76a59d10e6cd18c6de36c63c7ae967f94a35a0 (diff)
parent1f1f9ee38a6c2beb38285d550728d9661d0dc698 (diff)
downloaduGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.tar.gz
uGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.tar.bz2
uGFX-ecf0fceb195395a51aa7eef07932da0174fcff86.zip
Merge pull request #9 from trsaunders/master
C++ support, FSMC interface for SSD1289
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