mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Rename up_irqbutton() to board_button_irq()
This commit is contained in:
@@ -1020,7 +1020,7 @@ ssize_t up_check_stack_remain(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
|
||||
* all buttons or board_button_irq() may be called to register button interrupt
|
||||
* handlers.
|
||||
*
|
||||
* NOTE: This interface may or may not be supported by board-specific
|
||||
@@ -1055,7 +1055,7 @@ uint8_t board_buttons(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_irqbutton
|
||||
* Name: board_button_irq
|
||||
*
|
||||
* Description:
|
||||
* This function may be called to register an interrupt handler that will
|
||||
@@ -1072,7 +1072,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);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user