Skip to content
Snippets Groups Projects
Commit 845ffe01 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

boards/common/nucleo: use inverted gpio for user button

parent 6b79c5e9
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,8 @@ static const saul_gpio_params_t saul_gpio_params[] =
{
.name = "Button(B1 User)",
.pin = BTN0_PIN,
.mode = BTN0_MODE
.mode = BTN0_MODE,
.flags = SAUL_GPIO_INVERTED
},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment