Skip to content
Snippets Groups Projects
Unverified Commit 39b3b31a authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #9078 from aabadie/pr/boards/iotlab

boards/iotlab: fix saul gpio configuration
parents 08aea221 3474d052
No related branches found
No related tags found
No related merge requests found
...@@ -34,17 +34,20 @@ static const saul_gpio_params_t saul_gpio_params[] = ...@@ -34,17 +34,20 @@ static const saul_gpio_params_t saul_gpio_params[] =
{ {
.name = "LED(red)", .name = "LED(red)",
.pin = LED0_PIN, .pin = LED0_PIN,
.mode = GPIO_OUT .mode = GPIO_OUT,
.flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR,
}, },
{ {
.name = "LED(green)", .name = "LED(green)",
.pin = LED1_PIN, .pin = LED1_PIN,
.mode = GPIO_OUT .mode = GPIO_OUT,
.flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR,
}, },
{ {
.name = "LED(orange)", .name = "LED(orange)",
.pin = LED2_PIN, .pin = LED2_PIN,
.mode = GPIO_OUT .mode = GPIO_OUT,
.flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR,
}, },
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment