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/pwr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libopencm3/stm32/pwr.h') diff --git a/include/libopencm3/stm32/pwr.h b/include/libopencm3/stm32/pwr.h index 7084382..e709f3d 100644 --- a/include/libopencm3/stm32/pwr.h +++ b/include/libopencm3/stm32/pwr.h @@ -106,6 +106,8 @@ LGPL License Terms @ref lgpl_license /* --- PWR function prototypes ------------------------------------------- */ +BEGIN_DECLS + void pwr_disable_backup_domain_write_protect(void); void pwr_enable_backup_domain_write_protect(void); void pwr_enable_power_voltage_detect(u32 pvd_level); @@ -122,6 +124,8 @@ bool pwr_voltage_high(void); bool pwr_get_standby_flag(void); bool pwr_get_wakeup_flag(void); +END_DECLS + #endif /**@}*/ -- cgit v1.2.3