1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

Merge pull request #7759 from haukepetersen/opt_calliope_saulinverted

board/calliope: add inverse flag to SAUL gpio conf
This commit is contained in:
Hauke Petersen 2017-10-24 13:58:30 +02:00 committed by GitHub
commit ce75edc7c1

View File

@ -35,12 +35,14 @@ static const saul_gpio_params_t saul_gpio_params[] =
{
.name = "Button A",
.pin = BTN0_PIN,
.mode = BTN0_MODE
.mode = BTN0_MODE,
.flags = SAUL_GPIO_INVERTED,
},
{
.name = "Button B",
.pin = BTN1_PIN,
.mode = BTN1_MODE
.mode = BTN1_MODE,
.flags = SAUL_GPIO_INVERTED,
},
};