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 /nuttx/configs/sama5d3x-ek | |
parent | 2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0 (diff) | |
download | px4-nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.gz px4-nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.bz2 px4-nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.zip |
Rename up_irqbutton() to board_button_irq()
Diffstat (limited to 'nuttx/configs/sama5d3x-ek')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sam_buttons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_buttons.c b/nuttx/configs/sama5d3x-ek/src/sam_buttons.c index 89d4b51bc..9d8afcfba 100644 --- a/nuttx/configs/sama5d3x-ek/src/sam_buttons.c +++ b/nuttx/configs/sama5d3x-ek/src/sam_buttons.c @@ -93,7 +93,7 @@ static xcpt_t g_irquser1; * Description: * board_button_initialize() must be called to initialize button resources. After * that, board_buttons() may be called to collect the current state of all - * buttons or up_irqbutton() may be called to register button interrupt + * buttons or board_button_irq() may be called to register button interrupt * handlers. * ****************************************************************************/ @@ -120,7 +120,7 @@ uint8_t board_buttons(void) } /**************************************************************************** - * Name: up_irqbutton + * Name: board_button_irq * * Description: * This function may be called to register an interrupt handler that will @@ -136,7 +136,7 @@ uint8_t board_buttons(void) ****************************************************************************/ #if defined(CONFIG_SAMA5_PIOE_IRQ) && defined(CONFIG_ARCH_IRQBUTTONS) -xcpt_t up_irqbutton(int id, xcpt_t irqhandler) +xcpt_t board_button_irq(int id, xcpt_t irqhandler) { xcpt_t oldhandler = NULL; |