From 2b4abec1eabbc0a2b8ea96c799ebd18da253c6c0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Jan 2014 13:59:24 -0600 Subject: Rename up_buttons() to board_buttons() --- nuttx/configs/stm3220g-eval/src/up_buttons.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'nuttx/configs/stm3220g-eval') diff --git a/nuttx/configs/stm3220g-eval/src/up_buttons.c b/nuttx/configs/stm3220g-eval/src/up_buttons.c index e8f19d3f6..3ae268cad 100644 --- a/nuttx/configs/stm3220g-eval/src/up_buttons.c +++ b/nuttx/configs/stm3220g-eval/src/up_buttons.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/stm3220g-eval/src/up_buttons.c + * configs/stm3220g-eval/src/board_buttons.c * * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -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, up_buttons() may be called to collect the current state of all + * that, board_buttons() may be called to collect the current state of all * buttons or up_irqbutton() may be called to register button interrupt * handlers. * @@ -99,10 +99,10 @@ void board_button_initialize(void) } /**************************************************************************** - * Name: up_buttons + * Name: board_buttons ****************************************************************************/ -uint8_t up_buttons(void) +uint8_t board_buttons(void) { uint8_t ret = 0; int i; @@ -137,12 +137,12 @@ uint8_t up_buttons(void) * * Description: * board_button_initialize() must be called to initialize button resources. After - * that, up_buttons() may be called to collect the current state of all + * that, board_buttons() may be called to collect the current state of all * buttons or up_irqbutton() may be called to register button interrupt * handlers. * - * After board_button_initialize() has been called, up_buttons() may be called to - * collect the state of all buttons. up_buttons() returns an 8-bit bit set + * After board_button_initialize() has been called, board_buttons() may be called to + * collect the state of all buttons. board_buttons() returns an 8-bit bit set * with each bit associated with a button. See the BUTTON_*_BIT * definitions in board.h for the meaning of each bit. * -- cgit v1.2.3