STM32F7:stm32_tim irq fixes

This commit is contained in:
David Sidrane 2017-02-28 14:29:06 -10:00
parent 964a1abada
commit 2ee99c9d4e
2 changed files with 3 additions and 2 deletions

View File

@ -488,7 +488,7 @@ static void stm32_tim_setperiod(FAR struct stm32_tim_dev_s *dev,
}
static int stm32_tim_setisr(FAR struct stm32_tim_dev_s *dev,
int (*handler)(int irq, void *context),
xcpt_t handler,
int source)
{
int vectorno;

View File

@ -167,7 +167,8 @@ struct stm32_tim_ops_s
/* Timer interrupts */
int (*setisr)(FAR struct stm32_tim_dev_s *dev, int (*handler)(int irq, void *context), int source);
int (*setisr)(FAR struct stm32_tim_dev_s *dev, xcpt_t handler,
int source);
void (*enableint)(FAR struct stm32_tim_dev_s *dev, int source);
void (*disableint)(FAR struct stm32_tim_dev_s *dev, int source);
void (*ackint)(FAR struct stm32_tim_dev_s *dev, int source);