Merge pull request #8359 from aabadie/pr/nucleo64_btn_gpio

boards/common/nucleo: use inverted gpio for user button
This commit is contained in:
Peter Kietzmann 2018-01-17 11:53:59 +01:00 committed by GitHub
commit 384cc455fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,8 @@ static const saul_gpio_params_t saul_gpio_params[] =
{ {
.name = "Button(B1 User)", .name = "Button(B1 User)",
.pin = BTN0_PIN, .pin = BTN0_PIN,
.mode = BTN0_MODE .mode = BTN0_MODE,
.flags = SAUL_GPIO_INVERTED
}, },
}; };