Merge pull request #4742 from cgundogan/pr/saul/samr21_add_button

saul: add user button for samr21-xpro
This commit is contained in:
Cenk Gündoğan 2016-02-04 18:23:47 +01:00
commit dc6f53f630

View File

@ -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