Fixed bug #486.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6876 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
2f7fab8fb3
commit
ce7758eb01
|
@ -459,7 +459,7 @@ void icu_lld_start(ICUDriver *icup) {
|
|||
rccEnableTIM9(FALSE);
|
||||
rccResetTIM9();
|
||||
nvicEnableVector(STM32_TIM9_NUMBER, STM32_ICU_TIM9_IRQ_PRIORITY);
|
||||
icup->clock = STM32_TIMCLK1;
|
||||
icup->clock = STM32_TIMCLK2;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -465,7 +465,7 @@ void pwm_lld_start(PWMDriver *pwmp) {
|
|||
rccEnableTIM9(FALSE);
|
||||
rccResetTIM9();
|
||||
nvicEnableVector(STM32_TIM9_NUMBER, STM32_PWM_TIM9_IRQ_PRIORITY);
|
||||
pwmp->clock = STM32_TIMCLK1;
|
||||
pwmp->clock = STM32_TIMCLK2;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue