K66 Buttons: Missing definition of 'ret'
This commit is contained in:
parent
06ce1a2291
commit
f8ef544c34
|
@ -140,6 +140,7 @@ uint8_t board_buttons(void)
|
|||
int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg)
|
||||
{
|
||||
uint32_t pinset;
|
||||
int ret;
|
||||
|
||||
/* Map the button id to the GPIO bit set. */
|
||||
|
||||
|
@ -170,7 +171,7 @@ int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg)
|
|||
kinetis_pinirqenable(pinset);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_ARCH_BUTTONS */
|
||||
|
|
Loading…
Reference in New Issue