aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-AT90CANx-GCC/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR-AT90CANx-GCC/board.h')
-rw-r--r--demos/AVR-AT90CANx-GCC/board.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/demos/AVR-AT90CANx-GCC/board.h b/demos/AVR-AT90CANx-GCC/board.h
index fefd6a39c..0abe920eb 100644
--- a/demos/AVR-AT90CANx-GCC/board.h
+++ b/demos/AVR-AT90CANx-GCC/board.h
@@ -81,6 +81,12 @@
#define PORTE_LED (1 << 4)
#define PORTE_BUTTON (1 << 5)
-void hwinit(void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void hwinit(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* _BOARD_H_ */