git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7283 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2014-09-15 22:07:11 +00:00
parent a8e8a1bd6d
commit 5577312e9e
1 changed files with 2 additions and 2 deletions

View File

@ -606,8 +606,8 @@ void pwm_lld_start(PWMDriver *pwmp) {
pwmp->tim->CCER = ccer;
pwmp->tim->EGR = STM32_TIM_EGR_UG; /* Update event. */
pwmp->tim->SR = 0; /* Clear pending IRQs. */
pwmp->tim->DIER = pwmp->config->dier & /* DMA-related DIER settings. */
~STM32_TIM_DIER_IRQ_MASK;
pwmp->tim->DIER = pwmp->config->dier & /* DMA-related DIER settings. */
~STM32_TIM_DIER_IRQ_MASK;
#if STM32_PWM_USE_TIM1 || STM32_PWM_USE_TIM8
#if STM32_PWM_USE_ADVANCED
pwmp->tim->BDTR = pwmp->config->bdtr | STM32_TIM_BDTR_MOE;