aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32F0xx/adc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32F0xx/adc_lld.c')
-rw-r--r--os/hal/ports/STM32F0xx/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32F0xx/adc_lld.c b/os/hal/ports/STM32F0xx/adc_lld.c
index 8bca93f05..9e95c0007 100644
--- a/os/hal/ports/STM32F0xx/adc_lld.c
+++ b/os/hal/ports/STM32F0xx/adc_lld.c
@@ -155,7 +155,7 @@ void adc_lld_init(void) {
/* The shared vector is initialized on driver initialization and never
disabled.*/
- nvicEnableVector(ADC1_COMP_IRQn, STM32_ADC_IRQ_PRIORITY);
+ nvicEnableVector(12, STM32_ADC_IRQ_PRIORITY);
/* Calibration procedure.*/
rccEnableADC1(FALSE);