mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Fix errors found in build testing.
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_IRQBUTTONS
|
#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 */
|
#endif /* CONFIG_ARCH_IRQBUTTONS */
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ static void button_pm_notify(struct pm_callback_s *cb, int domain,
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#ifdef CONFIG_ARCH_IRQBUTTONS
|
#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
|
#ifdef CONFIG_PM
|
||||||
/* At this point the MCU should have already awakened. The state
|
/* At this point the MCU should have already awakened. The state
|
||||||
|
|||||||
Reference in New Issue
Block a user