Skip to content

Commit

Permalink
Update drivers/sensor/tsl2540/tsl2540_trigger.c
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Sinclair <andy@aasinclair.co.uk>
  • Loading branch information
rtalbott-tmo and aasinclair committed Sep 8, 2023
1 parent 20d5957 commit daf6f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sensor/tsl2540/tsl2540_trigger.c
Expand Up @@ -172,7 +172,7 @@ int tsl2540_trigger_init(const struct device *dev)
return -ENODEV;
}

rc = gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT | config->int_gpio.dt_flags);
rc = gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT);
if (rc < 0) {
return rc;
}
Expand Down

0 comments on commit daf6f2f

Please sign in to comment.