STM32F7:stm32_tim irq fixes
This commit is contained in:
parent
964a1abada
commit
2ee99c9d4e
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user