From 0837d7958c768872d80b6fa45e8a178cecf307b0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 22 Jan 2014 13:29:48 +0000 Subject: Fixed bug #460. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6637 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F0xx/adc_lld.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/platforms/STM32F0xx/adc_lld.c b/os/hal/platforms/STM32F0xx/adc_lld.c index 7d148aaaa..ba4834b40 100644 --- a/os/hal/platforms/STM32F0xx/adc_lld.c +++ b/os/hal/platforms/STM32F0xx/adc_lld.c @@ -156,8 +156,7 @@ void adc_lld_init(void) { /* The shared vector is initialized on driver initialization and never disabled.*/ - nvicEnableVector(ADC1_COMP_IRQn, - CORTEX_PRIORITY_MASK(STM32_ADC_IRQ_PRIORITY)); + nvicEnableVector(12, CORTEX_PRIORITY_MASK(STM32_ADC_IRQ_PRIORITY)); /* Calibration procedure.*/ rccEnableADC1(FALSE); -- cgit v1.2.3