modules/hal_st: Align sensor drivers to stmemsc HAL i/f v1.02
Align all sensor drivers that are using stmemsc (STdC) HAL i/f to new APIs of stmemsc v1.02. Requires https://github.com/zephyrproject-rtos/hal_st/pull/3 Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
ac9fe11f2f
commit
dc9e297e09
29 changed files with 129 additions and 60 deletions
|
@ -40,7 +40,7 @@ int iis3dhhc_trigger_set(struct device *dev,
|
|||
sensor_trigger_handler_t handler)
|
||||
{
|
||||
struct iis3dhhc_data *iis3dhhc = dev->driver_data;
|
||||
axis3bit16_t raw;
|
||||
union axis3bit16_t raw;
|
||||
|
||||
if (trig->chan == SENSOR_CHAN_ACCEL_XYZ) {
|
||||
iis3dhhc->handler_drdy = handler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue