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() --- nuttx/configs/stm32f429i-disco/src/up_buttons.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/configs/stm32f429i-disco') diff --git a/nuttx/configs/stm32f429i-disco/src/up_buttons.c b/nuttx/configs/stm32f429i-disco/src/up_buttons.c index 2718c0245..12eb45bb7 100644 --- a/nuttx/configs/stm32f429i-disco/src/up_buttons.c +++ b/nuttx/configs/stm32f429i-disco/src/up_buttons.c @@ -79,7 +79,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 * 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_* 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; -- cgit v1.2.3