diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-12 23:28:53 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-12 23:28:53 -0500 |
commit | e3fae0984dab4f1044ea3ffc1aa41b2df12370b2 (patch) | |
tree | 9de019bb440aa7403da64b21d76428544ff6709d /libmaple/dac.h | |
parent | 9579e9487c2039df38cc4fd0ac2846ef07cc0947 (diff) | |
download | librambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.tar.gz librambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.zip |
RCC refactor, bugfixes
Diffstat (limited to 'libmaple/dac.h')
-rw-r--r-- | libmaple/dac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/dac.h b/libmaple/dac.h index c897bb2..ee8a4e7 100644 --- a/libmaple/dac.h +++ b/libmaple/dac.h @@ -32,6 +32,8 @@ #ifndef _DAC_H_ #define _DAC_H_ +#if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) + #include "rcc.h" #ifdef __cplusplus @@ -149,4 +151,6 @@ void dac_disable_channel(uint8 channel); } // extern "C" #endif +#endif /* STM32_HIGH_DENSITY, STM32_XL_DENSITY */ + #endif |