Use gpio_dt_spec structure and related macros for both drdy and AnyMotion interrupts, to have a more compat, readable and safe code. Moreover, skip setting DRDY or AnyMotion trigger from application if the corresponding irq-gpios has not been set. (This commit also fixes #34794) Signed-off-by: Armando Visconti <armando.visconti@st.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lis2dh_i2c.c | ||
| lis2dh_spi.c | ||
| lis2dh_trigger.c | ||
| lis2dh.c | ||
| lis2dh.h | ||