samples: sensor: stream_drdy: fix invalid dt enums in overlays
Fix Devicetree compilation errors caused by incorrect enum macro names used in DTS overlay files. Replace LSM6DSV16X_DT_ODR_AT_120Hz with the correct Devicetree enum LSM6DSVXXX_DT_ODR_AT_120Hz in the stream_drdy sample boards overlay. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
committed by
Alberto Escolar
parent
f64a999147
commit
de04861e29
@@ -22,7 +22,7 @@
|
||||
lsm6dsv16x_6b_x_nucleo_iks4a1: lsm6dsv16x@6b {
|
||||
compatible = "st,lsm6dsv16x";
|
||||
reg = <0x6b>;
|
||||
accel-odr = <LSM6DSV16X_DT_ODR_AT_120Hz>;
|
||||
accel-odr = <LSM6DSVXXX_DT_ODR_AT_120Hz>;
|
||||
accel-range = <LSM6DSV16X_DT_FS_16G>;
|
||||
int2-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 (PB5) */
|
||||
drdy-pin = <2>;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
lsm6dsv16x_6b_x_nucleo_iks4a1: lsm6dsv16x@6b {
|
||||
compatible = "st,lsm6dsv16x";
|
||||
reg = <0x6b>;
|
||||
accel-odr = <LSM6DSV16X_DT_ODR_AT_120Hz>;
|
||||
accel-odr = <LSM6DSVXXX_DT_ODR_AT_120Hz>;
|
||||
accel-range = <LSM6DSV16X_DT_FS_16G>;
|
||||
int2-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 (PB5) */
|
||||
drdy-pin = <2>;
|
||||
|
||||
Reference in New Issue
Block a user