Button interrupt handler needs argument parameter.

This commit is contained in:
Gregory Nutt 2017-02-27 07:35:34 -06:00
parent 70532f6548
commit f15b566254
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ static void btn_enable(FAR const struct btn_lowerhalf_s *lower,
btn_handler_t handler, FAR void *arg);
static void btn_disable(void);
static int btn_interrupt(int irq, FAR void *context);
static int btn_interrupt(int irq, FAR void *context, FAR void *arg);
/****************************************************************************
* Private Data
@ -203,7 +203,7 @@ static void btn_disable(void)
*
****************************************************************************/
static int btn_interrupt(int irq, FAR void *context)
static int btn_interrupt(int irq, FAR void *context, FAR void *arg)
{
DEBUGASSERT(g_btnhandler);