aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-26 13:29:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-26 13:29:15 +0000
commit27cef0f6e1b6b23ab0b2e53722576a4c4f22e80a (patch)
treeb155df35f087e6b862508981f5f6c13e954de5f8 /os/hal/include
parenta7b208821aa9faa999d2ffdb370bbf92b208bb69 (diff)
downloadChibiOS-27cef0f6e1b6b23ab0b2e53722576a4c4f22e80a.tar.gz
ChibiOS-27cef0f6e1b6b23ab0b2e53722576a4c4f22e80a.tar.bz2
ChibiOS-27cef0f6e1b6b23ab0b2e53722576a4c4f22e80a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5330 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/adc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/adc.h b/os/hal/include/adc.h
index 91ab638e1..c41435452 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_MUTEXES && !CH_USE_SEMAPHORES
-#error "ADC_USE_WAIT requires CH_USE_MUTEXES and/or CH_USE_SEMAPHORES"
+#if ADC_USE_MUTUAL_EXCLUSION && !CH_USE_MUTEXES && !CH_USE_SEMAPHORES
+#error "ADC_USE_MUTUAL_EXCLUSION requires CH_USE_MUTEXES and/or CH_USE_SEMAPHORES"
#endif
/*===========================================================================*/