diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:04:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:04:07 -0600 |
commit | cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (patch) | |
tree | 8e7a8630ff349b9b8e3795af6973370484eb481d /apps/examples/buttons/buttons_main.c | |
parent | 2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0 (diff) | |
download | nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.gz nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.bz2 nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.zip |
Rename up_irqbutton() to board_button_irq()
Diffstat (limited to 'apps/examples/buttons/buttons_main.c')
-rw-r--r-- | apps/examples/buttons/buttons_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |