diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 13:59:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 13:59:24 -0600 |
commit | 2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0 (patch) | |
tree | 3efd8e41f20b33606e46b8820a89510e6209d27c /apps/examples/buttons | |
parent | ea439de0bb25f37ffc4004b6532bf53810511c3d (diff) | |
download | px4-nuttx-2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0.tar.gz px4-nuttx-2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0.tar.bz2 px4-nuttx-2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0.zip |
Rename up_buttons() to board_buttons()
Diffstat (limited to 'apps/examples/buttons')
-rw-r--r-- | apps/examples/buttons/buttons_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/buttons/buttons_main.c b/apps/examples/buttons/buttons_main.c index fba88d026..130ec2181 100644 --- a/apps/examples/buttons/buttons_main.c +++ b/apps/examples/buttons/buttons_main.c @@ -312,7 +312,7 @@ static void show_buttons(uint8_t oldset, uint8_t newset) #ifdef CONFIG_ARCH_IRQBUTTONS static void button_handler(int id, int irq) { - uint8_t newset = up_buttons(); + uint8_t newset = board_buttons(); lowsyslog("IRQ:%d Button %d:%s SET:%02x:\n", irq, id, g_buttoninfo[BUTTON_INDEX(id)].name, newset); @@ -448,7 +448,7 @@ int buttons_main(int argc, char *argv[]) /* Poll button state */ - g_oldset = up_buttons(); + g_oldset = board_buttons(); #ifdef CONFIG_NSH_BUILTIN_APPS while (g_nbuttons < maxbuttons) #else @@ -457,7 +457,7 @@ int buttons_main(int argc, char *argv[]) { /* Get the set of pressed and release buttons. */ - newset = up_buttons(); + newset = board_buttons(); /* Any changes from the last sample? */ |