mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Fix errors found in build testing.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user