diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-21 17:24:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-21 17:24:17 +0000 |
commit | a41017aac10f2255f13ce45044f567b021eeb474 (patch) | |
tree | a23316514beb0607bee75f7b819ab6d40d564e76 /os/hal/platforms/STM32/icu_lld.c | |
parent | dbe26c3e6e3c7015378da5d1d1cf5687477052c6 (diff) | |
download | ChibiOS-a41017aac10f2255f13ce45044f567b021eeb474.tar.gz ChibiOS-a41017aac10f2255f13ce45044f567b021eeb474.tar.bz2 ChibiOS-a41017aac10f2255f13ce45044f567b021eeb474.zip |
STM32 ICU and PWM drivers adapted to the new ISR names.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4319 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/icu_lld.c')
-rw-r--r-- | os/hal/platforms/STM32/icu_lld.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/os/hal/platforms/STM32/icu_lld.c b/os/hal/platforms/STM32/icu_lld.c index 91ce099c8..7102df87d 100644 --- a/os/hal/platforms/STM32/icu_lld.c +++ b/os/hal/platforms/STM32/icu_lld.c @@ -480,40 +480,40 @@ void icu_lld_stop(ICUDriver *icup) { #if STM32_ICU_USE_TIM1
if (&ICUD1 == icup) {
- nvicDisableVector(TIM1_CC_IRQn);
- nvicDisableVector(TIM1_UP_IRQn);
+ nvicDisableVector(STM32_TIM1_UP_NUMBER);
+ nvicDisableVector(STM32_TIM1_CC_NUMBER);
rccDisableTIM1(FALSE);
}
#endif
#if STM32_ICU_USE_TIM2
if (&ICUD2 == icup) {
- nvicDisableVector(TIM2_IRQn);
+ nvicDisableVector(STM32_TIM2_NUMBER);
rccDisableTIM2(FALSE);
}
#endif
#if STM32_ICU_USE_TIM3
if (&ICUD3 == icup) {
- nvicDisableVector(TIM3_IRQn);
+ nvicDisableVector(STM32_TIM3_NUMBER);
rccDisableTIM3(FALSE);
}
#endif
#if STM32_ICU_USE_TIM4
if (&ICUD4 == icup) {
- nvicDisableVector(TIM4_IRQn);
+ nvicDisableVector(STM32_TIM4_NUMBER);
rccDisableTIM4(FALSE);
}
#endif
#if STM32_ICU_USE_TIM5
if (&ICUD5 == icup) {
- nvicDisableVector(TIM5_IRQn);
+ nvicDisableVector(STM32_TIM5_NUMBER);
rccDisableTIM5(FALSE);
}
#endif
}
#if STM32_ICU_USE_TIM8
if (&ICUD8 == icup) {
- nvicDisableVector(TIM8_CC_IRQn);
- nvicDisableVector(TIM8_UP_IRQn);
+ nvicDisableVector(STM32_TIM8_UP_NUMBER);
+ nvicDisableVector(STM32_TIM8_CC_NUMBER);
rccDisableTIM8(FALSE);
}
#endif
|