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/led.h | |
parent | updated copyright info (diff) |
added support for C++ based projects
Diffstat (limited to 'lib/led.h')
-rw-r--r-- | lib/led.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,10 @@ #ifndef SPREADAVR_led_h_INCLUDED #define SPREADAVR_led_h_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + void led_init(void); void led_on(void); @@ -33,4 +37,8 @@ void led2_on(void); void led2_off(void); void led2_toggle(void); +#ifdef __cplusplus +} +#endif + #endif |