drivers: sensor: lsm6dso: added comments in preproc endif

Added comments ad the end of preprocessor if else endif blocks

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
This commit is contained in:
Ivan Wagner 2025-06-04 17:00:25 +02:00 committed by David Leach
commit e571f8bab4

View file

@ -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)