summaryrefslogtreecommitdiff
path: root/nuttx/configs/viewtool-stm32f107/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-24 14:04:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-24 14:04:07 -0600
commitcafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (patch)
tree8e7a8630ff349b9b8e3795af6973370484eb481d /nuttx/configs/viewtool-stm32f107/src
parent2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0 (diff)
downloadnuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.gz
nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.tar.bz2
nuttx-cafcbeb3a0d16b13048d14fa8ef75cce2a87f738.zip
Rename up_irqbutton() to board_button_irq()
Diffstat (limited to 'nuttx/configs/viewtool-stm32f107/src')
-rw-r--r--nuttx/configs/viewtool-stm32f107/src/stm32_buttons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/viewtool-stm32f107/src/stm32_buttons.c b/nuttx/configs/viewtool-stm32f107/src/stm32_buttons.c
index 4e9261f36..542181069 100644
--- a/nuttx/configs/viewtool-stm32f107/src/stm32_buttons.c
+++ b/nuttx/configs/viewtool-stm32f107/src/stm32_buttons.c
@@ -78,7 +78,7 @@ static const uint16_t g_buttons[NUM_BUTTONS] =
* 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.
*
****************************************************************************/
@@ -133,7 +133,7 @@ uint8_t board_buttons(void)
* 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.
*
* After board_button_initialize() has been called, board_buttons() may be called to
@@ -141,7 +141,7 @@ uint8_t board_buttons(void)
* with each bit associated with a button. See the BUTTON_*_BIT and JOYSTICK_*_BIT
* definitions in board.h for the meaning of each bit.
*
- * up_irqbutton() may be called to register an interrupt handler that will
+ * board_button_irq() may be called to register an interrupt handler that will
* be called when a button is depressed or released. The ID value is a
* button enumeration value that uniquely identifies a button resource. See the
* BUTTON_* and JOYSTICK_* definitions in board.h for the meaning of enumeration
@@ -151,7 +151,7 @@ uint8_t board_buttons(void)
************************************************************************************/
#ifdef 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;