From cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Jan 2014 14:04:07 -0600 Subject: Rename up_irqbutton() to board_button_irq() --- apps/examples/buttons/buttons_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/examples/buttons/buttons_main.c') diff --git a/apps/examples/buttons/buttons_main.c b/apps/examples/buttons/buttons_main.c index 130ec2181..ab17cb5bc 100644 --- a/apps/examples/buttons/buttons_main.c +++ b/apps/examples/buttons/buttons_main.c @@ -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 -- cgit v1.2.3