diff --git a/boards/common/iotlab/include/gpio_params.h b/boards/common/iotlab/include/gpio_params.h index 8b8a2e065b784ada04f8aef8e1ae297a63a46cbc..ade0ac25b104329423e3ae2ff3f437e4ef32c8ab 100644 --- a/boards/common/iotlab/include/gpio_params.h +++ b/boards/common/iotlab/include/gpio_params.h @@ -34,17 +34,20 @@ static const saul_gpio_params_t saul_gpio_params[] = { .name = "LED(red)", .pin = LED0_PIN, - .mode = GPIO_OUT + .mode = GPIO_OUT, + .flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR, }, { .name = "LED(green)", .pin = LED1_PIN, - .mode = GPIO_OUT + .mode = GPIO_OUT, + .flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR, }, { .name = "LED(orange)", .pin = LED2_PIN, - .mode = GPIO_OUT + .mode = GPIO_OUT, + .flags = SAUL_GPIO_INVERTED | SAUL_GPIO_INIT_CLEAR, }, };