From abda86c0eae7567ea2290401a3252d7b2c487868 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 May 2015 09:23:14 +0000 Subject: 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 --- demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'demos/STM32/RT-STM32F103_INEMO_DISCOVERY') diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h index 468973ae1..11c1c9b64 100644 --- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ -- cgit v1.2.3