aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dac.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-03-12 23:28:53 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-03-12 23:28:53 -0500
commite3fae0984dab4f1044ea3ffc1aa41b2df12370b2 (patch)
tree9de019bb440aa7403da64b21d76428544ff6709d /libmaple/dac.h
parent9579e9487c2039df38cc4fd0ac2846ef07cc0947 (diff)
downloadlibrambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.tar.gz
librambutan-e3fae0984dab4f1044ea3ffc1aa41b2df12370b2.zip
RCC refactor, bugfixes
Diffstat (limited to 'libmaple/dac.h')
-rw-r--r--libmaple/dac.h4
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