From 192c41aa4576cc7a984e4413181f1c87f84bdcef Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 28 Feb 2017 14:14:32 -0600 Subject: [PATCH] Fix another compiler issue found in build testing. --- configs/stm3210e-eval/src/stm32_pmbuttons.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/stm3210e-eval/src/stm32_pmbuttons.c b/configs/stm3210e-eval/src/stm32_pmbuttons.c index 50a06cc95d5..9e72b528311 100644 --- a/configs/stm3210e-eval/src/stm32_pmbuttons.c +++ b/configs/stm3210e-eval/src/stm32_pmbuttons.c @@ -314,7 +314,8 @@ void stm32_pmbuttons(void) int i; for (i = CONFIG_PM_IRQBUTTONS_MIN; i <= CONFIG_PM_IRQBUTTONS_MAX; i++) { - xcpt_t oldhandler = board_button_irq(i, g_buttonhandlers[BUTTON_INDEX(i)]); + xcpt_t oldhandler = + board_button_irq(i, g_buttonhandlers[BUTTON_INDEX(i)], NULL); if (oldhandler != NULL) {