STM32 PWM8 bug/typo
Posted: Sun Jan 22, 2012 12:24 pm
It looks like there is a bug in the PWM8 code:
Shouldn't that be PWMD8.config?
Also another reference to TIM1 in the comments
Code: Select all
CH_IRQ_HANDLER(TIM8_UP_IRQHandler) {
CH_IRQ_PROLOGUE();
STM32_TIM8->SR = ~TIM_SR_UIF;
PWMD1.config->callback(&PWMD8);
CH_IRQ_EPILOGUE();
}Shouldn't that be PWMD8.config?
Also another reference to TIM1 in the comments