aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-22 13:19:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-22 13:19:18 +0000
commitfeaff06e8b4516db9a40f0fdd9492d711522496b (patch)
tree10114d3a33e9cc4011a1a708e8074552b3793130 /os
parentfb6967cd23dbaee0c49c1447a159bd90e2860817 (diff)
downloadChibiOS-feaff06e8b4516db9a40f0fdd9492d711522496b.tar.gz
ChibiOS-feaff06e8b4516db9a40f0fdd9492d711522496b.tar.bz2
ChibiOS-feaff06e8b4516db9a40f0fdd9492d711522496b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6636 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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);