Fix errors found in build testing.
This commit is contained in:
parent
dc93340a01
commit
aa0c05af85
|
@ -80,7 +80,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_IRQBUTTONS
|
||||
static int button_handler(int irq, FAR void *context);
|
||||
static int button_handler(int irq, FAR void *context, FAR void *arg);
|
||||
#endif /* CONFIG_ARCH_IRQBUTTONS */
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -176,7 +176,7 @@ static void button_pm_notify(struct pm_callback_s *cb, int domain,
|
|||
|
||||
#if 0
|
||||
#ifdef CONFIG_ARCH_IRQBUTTONS
|
||||
static int button_handler(int irq, FAR void *context)
|
||||
static int button_handler(int irq, FAR void *context, FAR void *arg)
|
||||
{
|
||||
#ifdef CONFIG_PM
|
||||
/* At this point the MCU should have already awakened. The state
|
||||
|
|
Loading…
Reference in New Issue