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:
Armando Visconti 2019-09-25 10:51:12 +02:00 committed by Maureen Helm
commit dc9e297e09
29 changed files with 129 additions and 60 deletions

View file

@ -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;