From 80be4a5d3c639b7f780ee1c26b752875c9c9299c Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sun, 18 Oct 2020 12:46:52 +0200 Subject: [PATCH] freedom-k64f: Fix k64_buttons.c Change-Id: I0c9f8903513fdbce05e9dc03a3b6c772f6920002 Bug: https://github.com/apache/incubator-nuttx/pull/1999 Signed-off-by: Philippe Coval --- boards/arm/kinetis/freedom-k64f/src/k64_buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/kinetis/freedom-k64f/src/k64_buttons.c b/boards/arm/kinetis/freedom-k64f/src/k64_buttons.c index 5e5f9a483f..682d6868af 100644 --- a/boards/arm/kinetis/freedom-k64f/src/k64_buttons.c +++ b/boards/arm/kinetis/freedom-k64f/src/k64_buttons.c @@ -163,7 +163,7 @@ int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg) * Attach the new button handler. */ - ret = kinetis_pinirqattach(pinset, irqhandler); + ret = kinetis_pinirqattach(pinset, irqhandler, NULL); if (ret >= 0) { /* Then make sure that interrupts are enabled on the pin */