Skip to content
Snippets Groups Projects
Commit 9530f607 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Rename up_irqbutton() to board_button_irq()

parent 7bf1f353
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ int buttons_main(int argc, char *argv[])
#ifdef CONFIG_ARCH_IRQBUTTONS
for (i = CONFIG_EXAMPLES_IRQBUTTONS_MIN; i <= CONFIG_EXAMPLES_IRQBUTTONS_MAX; i++)
{
xcpt_t oldhandler = up_irqbutton(i, g_buttoninfo[BUTTON_INDEX(i)].handler);
xcpt_t oldhandler = board_button_irq(i, g_buttoninfo[BUTTON_INDEX(i)].handler);
/* Use lowsyslog() for compatibility with interrrupt handler output. */
......@@ -491,7 +491,7 @@ int buttons_main(int argc, char *argv[])
#if defined(CONFIG_ARCH_IRQBUTTONS) && defined(CONFIG_NSH_BUILTIN_APPS)
for (i = CONFIG_EXAMPLES_IRQBUTTONS_MIN; i <= CONFIG_EXAMPLES_IRQBUTTONS_MAX; i++)
{
(void)up_irqbutton(i, NULL);
(void)board_button_irq(i, NULL);
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment