STM32 TIM: Correct function prototype.

This commit is contained in:
Gregory Nutt 2017-02-27 11:03:10 -06:00
parent b4ff7391f8
commit 6a3add7230

View File

@ -50,6 +50,8 @@
#include "chip.h"
#include "chip/stm32_tim.h"
#include <nuttx/irq.h>
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
@ -172,8 +174,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);