1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Merge pull request #10737 from aabadie/pr/boards/esp32-wroom-32-button

boards/esp32-wroom-32: configure saul button as inverted
This commit is contained in:
Gunar Schorcht 2019-01-09 17:24:21 +01:00 committed by GitHub
commit d99d72c583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ static const saul_gpio_params_t saul_gpio_params[] =
.name = "BUT1",
.pin = BUTTON0_PIN,
.mode = GPIO_IN,
.flags = 0
.flags = SAUL_GPIO_INVERTED
},
};

View File

@ -33,7 +33,7 @@ static const saul_gpio_params_t saul_gpio_params[] =
.name = "BOOT",
.pin = BUTTON0_PIN,
.mode = GPIO_IN,
.flags = 0
.flags = SAUL_GPIO_INVERTED
},
};