Skip to content
Snippets Groups Projects
Commit ce75edc7 authored by Hauke Petersen's avatar Hauke Petersen Committed by GitHub
Browse files

Merge pull request #7759 from haukepetersen/opt_calliope_saulinverted

board/calliope: add inverse flag to SAUL gpio conf
parents 69c05fe2 66fb7e5c
No related branches found
No related tags found
No related merge requests found
...@@ -33,14 +33,16 @@ extern "C" { ...@@ -33,14 +33,16 @@ extern "C" {
static const saul_gpio_params_t saul_gpio_params[] = static const saul_gpio_params_t saul_gpio_params[] =
{ {
{ {
.name = "Button A", .name = "Button A",
.pin = BTN0_PIN, .pin = BTN0_PIN,
.mode = BTN0_MODE .mode = BTN0_MODE,
.flags = SAUL_GPIO_INVERTED,
}, },
{ {
.name = "Button B", .name = "Button B",
.pin = BTN1_PIN, .pin = BTN1_PIN,
.mode = BTN1_MODE .mode = BTN1_MODE,
.flags = SAUL_GPIO_INVERTED,
}, },
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment