boards/esp32-wroom-32: configure saul button as inverted
This commit is contained in:
parent
db3309eec8
commit
484572f881
@ -33,7 +33,7 @@ static const saul_gpio_params_t saul_gpio_params[] =
|
|||||||
.name = "BOOT",
|
.name = "BOOT",
|
||||||
.pin = BUTTON0_PIN,
|
.pin = BUTTON0_PIN,
|
||||||
.mode = GPIO_IN,
|
.mode = GPIO_IN,
|
||||||
.flags = 0
|
.flags = SAUL_GPIO_INVERTED
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user