aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/ADC
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 /testhal/STM32/STM32F1xx/ADC
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 'testhal/STM32/STM32F1xx/ADC')
-rw-r--r--testhal/STM32/STM32F1xx/ADC/halconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h
index 3c05d2f46..6d34adbf5 100644
--- a/testhal/STM32/STM32F1xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/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__)