driver/sensor: lis2dw12: update to use new GPIO API
Get rid of all the deprecated functions and definitions replacing them with the new ones. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
692996dd00
commit
e690fab6b1
5 changed files with 19 additions and 5 deletions
|
@ -92,6 +92,7 @@ struct lis2dw12_device_config {
|
|||
#ifdef CONFIG_LIS2DW12_TRIGGER
|
||||
const char *int_gpio_port;
|
||||
u8_t int_gpio_pin;
|
||||
u8_t int_gpio_flags;
|
||||
u8_t int_pin;
|
||||
#ifdef CONFIG_LIS2DW12_PULSE
|
||||
u8_t pulse_trigger;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue