From feaff06e8b4516db9a40f0fdd9492d711522496b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 22 Jan 2014 13:19:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6636 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32F0xx/adc_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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); -- cgit v1.2.3