From a7b208821aa9faa999d2ffdb370bbf92b208bb69 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 26 Feb 2013 13:28:47 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5329 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/adc.h | 4 ++-- 1 file 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 /*===========================================================================*/ -- cgit v1.2.3