Skip to content

Commit

Permalink
boards: 6lowpan-clicker: Update GPIO SAUL configuration for buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
  • Loading branch information
francois-berder committed May 2, 2020
1 parent fb610ba commit 937a30e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions boards/6lowpan-clicker/include/gpio_params.h
Expand Up @@ -41,6 +41,16 @@ static const saul_gpio_params_t saul_gpio_params[] =
.pin = LED2_PIN,
.mode = GPIO_OUT,
},
{
.name = "T1",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
{
.name = "T2",
.pin = BTN1_PIN,
.mode = BTN1_MODE,
},
};

#ifdef __cplusplus
Expand Down

0 comments on commit 937a30e

Please sign in to comment.