From e571f8bab4281fd03a0a0fe74def421f02451065 Mon Sep 17 00:00:00 2001 From: Ivan Wagner Date: Wed, 4 Jun 2025 17:00:25 +0200 Subject: [PATCH] drivers: sensor: lsm6dso: added comments in preproc endif Added comments ad the end of preprocessor if else endif blocks Signed-off-by: Ivan Wagner --- drivers/sensor/st/lsm6dso/lsm6dso_trigger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/sensor/st/lsm6dso/lsm6dso_trigger.c b/drivers/sensor/st/lsm6dso/lsm6dso_trigger.c index a0f4c00ab69..36e8ff8633b 100644 --- a/drivers/sensor/st/lsm6dso/lsm6dso_trigger.c +++ b/drivers/sensor/st/lsm6dso/lsm6dso_trigger.c @@ -478,7 +478,7 @@ static void lsm6dso_handle_interrupt(const struct device *dev) GPIO_INT_EDGE_TO_ACTIVE); } -#else +#else /* defined(CONFIG_LSM6DSO_TILT) || defined(CONFIG_LSM6DSO_TAP) */ static void lsm6dso_handle_interrupt(const struct device *dev) { @@ -519,7 +519,7 @@ static void lsm6dso_handle_interrupt(const struct device *dev) gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_EDGE_TO_ACTIVE); } -#endif +#endif /* defined(CONFIG_LSM6DSO_TILT) || defined(CONFIG_LSM6DSO_TAP) */ static void lsm6dso_gpio_callback(const struct device *dev, struct gpio_callback *cb, uint32_t pins)