diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-04-22 08:53:13 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-04-22 08:53:13 +0000 |
commit | 6f08d653f6359af9583415fe8ac175dfe5170123 (patch) | |
tree | 3834486e9b79b841f50d764eec79b9d4ffdb4f13 /os | |
parent | 640874e0764aee15d2c7d00d88ece23b32d5ff2a (diff) | |
download | ChibiOS-6f08d653f6359af9583415fe8ac175dfe5170123.tar.gz ChibiOS-6f08d653f6359af9583415fe8ac175dfe5170123.tar.bz2 ChibiOS-6f08d653f6359af9583415fe8ac175dfe5170123.zip |
Fixed bug #486.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6874 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/TIMv1/icu_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/STM32/TIMv1/pwm_lld.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/TIMv1/icu_lld.c b/os/hal/platforms/STM32/TIMv1/icu_lld.c index 0b1013a23..ded4f806c 100644 --- a/os/hal/platforms/STM32/TIMv1/icu_lld.c +++ b/os/hal/platforms/STM32/TIMv1/icu_lld.c @@ -469,7 +469,7 @@ void icu_lld_start(ICUDriver *icup) { rccResetTIM9();
nvicEnableVector(STM32_TIM9_NUMBER,
CORTEX_PRIORITY_MASK(STM32_ICU_TIM9_IRQ_PRIORITY));
- icup->clock = STM32_TIMCLK1;
+ icup->clock = STM32_TIMCLK2;
}
#endif
}
diff --git a/os/hal/platforms/STM32/TIMv1/pwm_lld.c b/os/hal/platforms/STM32/TIMv1/pwm_lld.c index 37ed835f5..1968ffcfb 100644 --- a/os/hal/platforms/STM32/TIMv1/pwm_lld.c +++ b/os/hal/platforms/STM32/TIMv1/pwm_lld.c @@ -475,7 +475,7 @@ void pwm_lld_start(PWMDriver *pwmp) { rccResetTIM9();
nvicEnableVector(STM32_TIM9_NUMBER,
CORTEX_PRIORITY_MASK(STM32_PWM_TIM9_IRQ_PRIORITY));
- pwmp->clock = STM32_TIMCLK1;
+ pwmp->clock = STM32_TIMCLK2;
}
#endif
|