mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
committed by
Alan Carvalho de Assis
parent
eca7059785
commit
f8a809eb5b
@@ -57,7 +57,8 @@
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
static btn_buttonset_t btn_supported(FAR const struct btn_lowerhalf_s *lower);
|
||||
static btn_buttonset_t
|
||||
btn_supported(FAR const struct btn_lowerhalf_s *lower);
|
||||
static btn_buttonset_t btn_buttons(FAR const struct btn_lowerhalf_s *lower);
|
||||
static void btn_enable(FAR const struct btn_lowerhalf_s *lower,
|
||||
btn_buttonset_t press, btn_buttonset_t release,
|
||||
|
||||
@@ -55,7 +55,8 @@
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
static userled_set_t userled_supported(FAR const struct userled_lowerhalf_s *lower);
|
||||
static userled_set_t
|
||||
userled_supported(FAR const struct userled_lowerhalf_s *lower);
|
||||
static void userled_led(FAR const struct userled_lowerhalf_s *lower,
|
||||
int led, bool ledon);
|
||||
static void userled_ledset(FAR const struct userled_lowerhalf_s *lower,
|
||||
@@ -86,7 +87,8 @@ static const struct userled_lowerhalf_s g_userled_lower =
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static userled_set_t userled_supported(FAR const struct userled_lowerhalf_s *lower)
|
||||
static userled_set_t
|
||||
userled_supported(FAR const struct userled_lowerhalf_s *lower)
|
||||
{
|
||||
ledinfo("BOARD_NLEDS: %02x\n", BOARD_NLEDS);
|
||||
return (userled_set_t)((1 << BOARD_NLEDS) - 1);
|
||||
|
||||
Reference in New Issue
Block a user