diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-26 13:28:47 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-26 13:28:47 +0000 |
commit | a7b208821aa9faa999d2ffdb370bbf92b208bb69 (patch) | |
tree | e986e16d12371ca67485c0a5cda7d9aee5c915a2 | |
parent | 63bf04105b857849ee8534172349ae624ca9cd8f (diff) | |
download | ChibiOS-a7b208821aa9faa999d2ffdb370bbf92b208bb69.tar.gz ChibiOS-a7b208821aa9faa999d2ffdb370bbf92b208bb69.tar.bz2 ChibiOS-a7b208821aa9faa999d2ffdb370bbf92b208bb69.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5329 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/include/adc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/adc.h b/os/hal/include/adc.h index 7db0f7641..91ab638e1 100644 --- a/os/hal/include/adc.h +++ b/os/hal/include/adc.h @@ -64,8 +64,8 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if ADC_USE_WAIT && !CH_USE_SEMAPHORES
-#error "ADC driver requires CH_USE_SEMAPHORES when ADC_USE_WAIT is enabled"
+#if ADC_USE_WAIT && !CH_USE_MUTEXES && !CH_USE_SEMAPHORES
+#error "ADC_USE_WAIT requires CH_USE_MUTEXES and/or CH_USE_SEMAPHORES"
#endif
/*===========================================================================*/
|