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:
commit
d99d72c583
@ -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
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user