diff options
Diffstat (limited to 'os/hal/include/adc.h')
-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 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
/*===========================================================================*/
|