diff options
Diffstat (limited to 'board/arcada_ish')
-rw-r--r-- | board/arcada_ish/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/arcada_ish/board.c b/board/arcada_ish/board.c index f5e3d3ef0b..8d3d13bb9c 100644 --- a/board/arcada_ish/board.c +++ b/board/arcada_ish/board.c @@ -136,7 +136,7 @@ struct motion_sensor_t motion_sensors[] = { .location = MOTIONSENSE_LOC_LID, .drv = &lis2mdl_drv, .mutex = &g_lid_mag_mutex, - .drv_data = &lis2mdl_a_data, + .drv_data = LIS2MDL_ST_DATA(lis2mdl_a_data), .port = I2C_PORT_SENSOR, .addr = LIS2MDL_ADDR, .default_range = 1 << 11, /* 16LSB / uT, fixed */ |