From 1f1f9ee38a6c2beb38285d550728d9661d0dc698 Mon Sep 17 00:00:00 2001 From: trsaunders Date: Tue, 19 Jun 2012 20:05:01 +0100 Subject: c++ compatibility, FSMC driver for ssd1289 --- graph.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'graph.h') diff --git a/graph.h b/graph.h index 8e597d8d..eb03c3d5 100644 --- a/graph.h +++ b/graph.h @@ -1,6 +1,11 @@ #ifndef GRAPH_H #define GRAPH_H +#ifdef __cplusplus +extern "C" { +#endif + + /* * Description: does draw axis arrows and grid * @@ -39,4 +44,8 @@ void graphDrawDots(int16_t coord[][2], uint16_t entries, uint16_t radius, uint16 */ void graphDrawNet(int16_t coord[][2], uint16_t entries, uint16_t radius, uint16_t lineColor, uint16_t dotColor); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3