diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-09 21:05:09 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-09 21:05:09 +0000 |
commit | 82c16dccd407e9150745f8622044b6438c124f2b (patch) | |
tree | 1b39edc31ed8c2656732c9da7aa78aa81fee01c9 /demos/AVR-Arduino-GCC | |
parent | 9970f28cb9a705c7b502c4cf95f2dffb39b7164f (diff) | |
download | ChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.tar.gz ChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.tar.bz2 ChibiOS-82c16dccd407e9150745f8622044b6438c124f2b.zip |
[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
Diffstat (limited to 'demos/AVR-Arduino-GCC')
-rw-r--r-- | demos/AVR-Arduino-GCC/halconf.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -52,6 +52,13 @@ #endif
/**
+ * @brief Enables the DAC subsystem.
+ */
+#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
+#define HAL_USE_DAC FALSE
+#endif
+
+/**
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
|