Skip to content

Commit

Permalink
shields: ws_pico_10dofimusens: rename sensor-type -> sensor-types
Browse files Browse the repository at this point in the history
With the Zephyr upstream commit f5595b4b9c3bbeb44a56d27a2854a172fc5eaad6
the new (work in progrss) sensig subsystem renames property 'sensor-type'
to 'sensor-types' and change the type of this required property from
'int' to an 'array' of type values.

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Jan 30, 2024
1 parent 0a7fbee commit a80737c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
wsptdis_accel: wsptdis-accel {
compatible = "zephyr,sensing-phy-3d-sensor";
status = "disabled";
sensor-type = <SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D>;
sensor-types = <SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D
SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D
SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR>;
friendly-name = "WSP 10-DOF IMU Shield Accelerometer";
minimal-interval = <625>;
underlying-device = <&wsptdis_sens_dof>;
Expand Down

0 comments on commit a80737c

Please sign in to comment.