diff options
Diffstat (limited to 'glcd.h')
-rw-r--r-- | glcd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |