aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/dac.c')
-rw-r--r--libmaple/dac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/dac.c b/libmaple/dac.c
index ef3a9f9..0f44bb4 100644
--- a/libmaple/dac.c
+++ b/libmaple/dac.c
@@ -26,6 +26,8 @@
#include "gpio.h"
#include "dac.h"
+#ifdef STM32_HIGH_DENSITY
+
/**
* @brief DAC peripheral routines.
*/
@@ -108,3 +110,5 @@ void dac_disable_channel(uint8 channel) {
break;
}
}
+
+#endif /* STM32_HIGH_DENSITY */