From 82c16dccd407e9150745f8622044b6438c124f2b Mon Sep 17 00:00:00 2001 From: utzig Date: Tue, 9 Jul 2013 21:05:09 +0000 Subject: [AVR] add DAC HAL options to disable annoying warning git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5944 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR-Arduino-GCC/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'demos/AVR-Arduino-GCC') diff --git a/demos/AVR-Arduino-GCC/halconf.h b/demos/AVR-Arduino-GCC/halconf.h index 3858828e6..ce9115bfe 100644 --- a/demos/AVR-Arduino-GCC/halconf.h +++ b/demos/AVR-Arduino-GCC/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_ADC FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC FALSE +#endif + /** * @brief Enables the CAN subsystem. */ -- cgit v1.2.3