aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.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 /glcd.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 'glcd.h')
-rw-r--r--glcd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/glcd.h b/glcd.h
index f65732bc..222a7eb2 100644
--- a/glcd.h
+++ b/glcd.h
@@ -41,6 +41,11 @@ extern const uint8_t* font;
#define lcdGotoXY(x,y) { cx=x; cy=y; }
#define lcdGetCurFontHeight() (font[FONT_TABLE_HEIGHT_IDX])
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
void lcdInit(void);
void lcdClear(uint16_t color);
@@ -71,4 +76,8 @@ uint16_t lcdGetOrientation(void);
uint16_t lcdBGR2RGB(uint16_t color);
uint16_t lcdGetPixelColor(uint16_t x, uint16_t y);
+#ifdef __cplusplus
+}
+#endif
+
#endif