diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-06-30 21:42:21 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-06-30 21:42:21 +0200 |
commit | 27b0d98d085454a9f3fbaeb73ac3000e5a965db4 (patch) | |
tree | 01c5cd7a67d25a26fe1e886999c4a48dd37dd00e /lib/util.h | |
parent | updated copyright info (diff) |
added support for C++ based projects
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -23,10 +23,18 @@ #ifndef SPREADAVR_util_h_INCLUDED #define SPREADAVR_util_h_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + void cpu_init(void); #if defined JTD void jtag_disable(void); #endif void reset2bootloader(void); +#ifdef __cplusplus +} +#endif + #endif |