boards/esp32-wroom-32: configure saul button as inverted

This commit is contained in:
Alexandre Abadie 2019-01-09 10:00:16 +01:00
parent db3309eec8
commit 484572f881

View File

@ -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
}, },
}; };