aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-12-03 08:34:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-12-03 08:34:55 +0000
commitf407c0326feb5ed4c3c49d92a56189dd4a546277 (patch)
treeb698464c839ec14597460c33611e32594f02f6fb /os
parentc86a5d888757ac3c861e0cf6d28671ea97bddc98 (diff)
downloadChibiOS-f407c0326feb5ed4c3c49d92a56189dd4a546277.tar.gz
ChibiOS-f407c0326feb5ed4c3c49d92a56189dd4a546277.tar.bz2
ChibiOS-f407c0326feb5ed4c3c49d92a56189dd4a546277.zip
Fixed bug #444.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6520 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32F37x/adc_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F37x/adc_lld.c b/os/hal/platforms/STM32F37x/adc_lld.c
index ff5ef60b3..9e8162933 100644
--- a/os/hal/platforms/STM32F37x/adc_lld.c
+++ b/os/hal/platforms/STM32F37x/adc_lld.c
@@ -322,7 +322,8 @@ void adc_lld_init(void) {
STM32_DMA_CR_MSIZE_HWORD | STM32_DMA_CR_PSIZE_HWORD |
STM32_DMA_CR_MINC | STM32_DMA_CR_TCIE |
STM32_DMA_CR_DMEIE | STM32_DMA_CR_TEIE;
- nvicEnableVector(ADC1_IRQn, CORTEX_PRIORITY_MASK(STM32_ADC_IRQ_PRIORITY));
+ nvicEnableVector(ADC1_IRQn,
+ CORTEX_PRIORITY_MASK(STM32_ADC_ADC1_IRQ_PRIORITY));
#endif
#if STM32_ADC_USE_SDADC1