freedom-k64f: Fix k64_buttons.c
Change-Id: I0c9f8903513fdbce05e9dc03a3b6c772f6920002 Bug: https://github.com/apache/incubator-nuttx/pull/1999 Signed-off-by: Philippe Coval <rzr@users.sf.net>
This commit is contained in:
parent
a49a3eae51
commit
80be4a5d3c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user