git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6876 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-04-22 08:53:25 +00:00
parent 2f7fab8fb3
commit ce7758eb01
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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