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.c | |
parent | 9579e9487c2039df38cc4fd0ac2846ef07cc0947 (diff) | |
download | librambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.tar.gz librambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.zip |
RCC refactor, bugfixes
Diffstat (limited to 'libmaple/dac.c')
-rw-r--r-- | libmaple/dac.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/dac.c b/libmaple/dac.c index ef3a9f9..f0bdbcd 100644 --- a/libmaple/dac.c +++ b/libmaple/dac.c @@ -26,6 +26,8 @@ #include "gpio.h" #include "dac.h" +#if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY) + /** * @brief DAC peripheral routines. */ @@ -108,3 +110,5 @@ void dac_disable_channel(uint8 channel) { break; } } + +#endif |