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:
parent
4aa4ee1256
commit
e571f8bab4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue