aboutsummaryrefslogtreecommitdiffstats
path: root/demos/LPC21xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-05-03 09:23:14 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-05-03 09:23:14 +0000
commitabda86c0eae7567ea2290401a3252d7b2c487868 (patch)
treef1678286cd618ae0e3b6553eb3dca3d2c7c87b74 /demos/LPC21xx
parent904787aafeac29d02f4be9e10e6d2cb74a7b5420 (diff)
downloadChibiOS-abda86c0eae7567ea2290401a3252d7b2c487868.tar.gz
ChibiOS-abda86c0eae7567ea2290401a3252d7b2c487868.tar.bz2
ChibiOS-abda86c0eae7567ea2290401a3252d7b2c487868.zip
Updated all halconf.h files with DAC switch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7944 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/LPC21xx')
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
index fd040f82f..2d51bd00a 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC TRUE
+#endif
+
+/**
* @brief Enables the EXT subsystem.
*/
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)