Merge pull request #4742 from cgundogan/pr/saul/samr21_add_button
saul: add user button for samr21-xpro
This commit is contained in:
commit
dc6f53f630
@ -39,6 +39,12 @@ static const saul_gpio_params_t saul_gpio_params[] =
|
||||
.dir = GPIO_DIR_OUT,
|
||||
.pull = GPIO_NOPULL,
|
||||
},
|
||||
{
|
||||
.name = "Button(SW0)",
|
||||
.pin = BUTTON_GPIO,
|
||||
.dir = GPIO_DIR_IN,
|
||||
.pull = GPIO_PULLUP,
|
||||
},
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user