diff options
Diffstat (limited to 'board/treeya/board.c')
-rw-r--r-- | board/treeya/board.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/board/treeya/board.c b/board/treeya/board.c index cf96579ac9..65c825b488 100644 --- a/board/treeya/board.c +++ b/board/treeya/board.c @@ -59,12 +59,6 @@ static const mat33_fp_t lsm6dsm_base_standard_ref = { { 0, 0, FLOAT_TO_FP(1)} }; -static const mat33_fp_t lis2dwl_lid_standard_ref = { - { FLOAT_TO_FP(1), 0, 0}, - { 0, FLOAT_TO_FP(1), 0}, - { 0, 0, FLOAT_TO_FP(1)} -}; - static const mat33_fp_t treeya_standard_ref = { { 0, FLOAT_TO_FP(-1), 0}, { FLOAT_TO_FP(1), 0, 0}, @@ -82,7 +76,7 @@ struct motion_sensor_t lid_accel_1 = { .drv_data = &g_lis2dwl_data, .port = I2C_PORT_ACCEL, .i2c_spi_addr_flags = LIS2DWL_ADDR1_FLAGS, - .rot_standard_ref = &lis2dwl_lid_standard_ref, + .rot_standard_ref = NULL, .default_range = 2, /* g */ .min_frequency = LIS2DW12_ODR_MIN_VAL, .max_frequency = LIS2DW12_ODR_MAX_VAL, |