From 3aab6220d83d5b9fcd318e9d87225ff405cad783 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 2 Sep 2012 17:12:58 +0200 Subject: Add C linkage declaration for C++ usage --- include/libopencm3/stm32/crc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libopencm3/stm32/crc.h') diff --git a/include/libopencm3/stm32/crc.h b/include/libopencm3/stm32/crc.h index 7d80259..3848191 100644 --- a/include/libopencm3/stm32/crc.h +++ b/include/libopencm3/stm32/crc.h @@ -53,6 +53,8 @@ /* --- CRC function prototypes --------------------------------------------- */ +BEGIN_DECLS + /* TODO */ /** @@ -75,4 +77,6 @@ u32 crc_calculate(u32 data); */ u32 crc_calculate_block(u32 *datap, int size); +END_DECLS + #endif -- cgit v1.2.3