diff options
author | Romain Reignier <rom.reignier@gmail.com> | 2018-03-11 22:13:06 +0100 |
---|---|---|
committer | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:20:07 +0100 |
commit | 918149d48d908cf8441cbd41571b768918a4d7b1 (patch) | |
tree | 5a76a68ddef2d04c15e2fcc3d9b3e9f8802056ab /os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c | |
parent | aa8c6cc4af857cdb3e7f4813cf7a22ebf5333818 (diff) | |
download | ChibiOS-Contrib-918149d48d908cf8441cbd41571b768918a4d7b1.tar.gz ChibiOS-Contrib-918149d48d908cf8441cbd41571b768918a4d7b1.tar.bz2 ChibiOS-Contrib-918149d48d908cf8441cbd41571b768918a4d7b1.zip |
hal: stm32: Keep track of latest STM32 RCC API
RCC API changed in 01/2018 so apply the changes.
Note that ae7a4d40b84d8afc999691577210696f16e682f6 partially fixed the changes in QEI module but some were missing.
So update the other modules too.
Diffstat (limited to 'os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c')
-rw-r--r-- | os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c index 37a48fd..d95c6a3 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c +++ b/os/hal/ports/STM32/LLD/TIMv1/hal_timcap_lld.c @@ -713,44 +713,44 @@ void timcap_lld_stop(TIMCAPDriver *timcapp) { if (&TIMCAPD1 == timcapp) { nvicDisableVector(STM32_TIM1_UP_NUMBER); nvicDisableVector(STM32_TIM1_CC_NUMBER); - rccDisableTIM1(FALSE); + rccDisableTIM1(); } #endif #if STM32_TIMCAP_USE_TIM2 if (&TIMCAPD2 == timcapp) { nvicDisableVector(STM32_TIM2_NUMBER); - rccDisableTIM2(FALSE); + rccDisableTIM2(); } #endif #if STM32_TIMCAP_USE_TIM3 if (&TIMCAPD3 == timcapp) { nvicDisableVector(STM32_TIM3_NUMBER); - rccDisableTIM3(FALSE); + rccDisableTIM3(); } #endif #if STM32_TIMCAP_USE_TIM4 if (&TIMCAPD4 == timcapp) { nvicDisableVector(STM32_TIM4_NUMBER); - rccDisableTIM4(FALSE); + rccDisableTIM4(); } #endif #if STM32_TIMCAP_USE_TIM5 if (&TIMCAPD5 == timcapp) { nvicDisableVector(STM32_TIM5_NUMBER); - rccDisableTIM5(FALSE); + rccDisableTIM5(); } #endif #if STM32_TIMCAP_USE_TIM8 if (&TIMCAPD8 == timcapp) { nvicDisableVector(STM32_TIM8_UP_NUMBER); nvicDisableVector(STM32_TIM8_CC_NUMBER); - rccDisableTIM8(FALSE); + rccDisableTIM8(); } #endif #if STM32_TIMCAP_USE_TIM9 if (&TIMCAPD9 == timcapp) { nvicDisableVector(STM32_TIM9_NUMBER); - rccDisableTIM9(FALSE); + rccDisableTIM9(); } #endif } |