mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set.
This commit is contained in:
@@ -121,7 +121,7 @@ uint32_t board_buttons(void)
|
||||
* handlers.
|
||||
*
|
||||
* 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
|
||||
* collect the state of all buttons. board_buttons() returns an 32-bit bit set
|
||||
* with each bit associated with a button. See the BUTTON_*_BIT and JOYSTICK_*_BIT
|
||||
* definitions in board.h for the meaning of each bit.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user