aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/adc.h')
-rw-r--r--os/hal/include/adc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/adc.h b/os/hal/include/adc.h
index 67ebf5ca2..685c4049f 100644
--- a/os/hal/include/adc.h
+++ b/os/hal/include/adc.h
@@ -27,7 +27,7 @@
#ifndef _ADC_H_
#define _ADC_H_
-#if CH_HAL_USE_ADC
+#if CH_HAL_USE_ADC || defined(__DOXYGEN__)
#if !CH_USE_SEMAPHORES
#error "ADC driver requires CH_USE_SEMAPHORES"