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 --- testhal/STM32/STM32F4xx/UART/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testhal/STM32/STM32F4xx/UART/halconf.h') diff --git a/testhal/STM32/STM32F4xx/UART/halconf.h b/testhal/STM32/STM32F4xx/UART/halconf.h index ac9f406cd..3dfd968c9 100644 --- a/testhal/STM32/STM32F4xx/UART/halconf.h +++ b/testhal/STM32/STM32F4xx/UART/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