diff options
Diffstat (limited to 'board/kano/sensors.c')
-rw-r--r-- | board/kano/sensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/kano/sensors.c b/board/kano/sensors.c index 0859e9082c..442400a12a 100644 --- a/board/kano/sensors.c +++ b/board/kano/sensors.c @@ -52,7 +52,7 @@ static struct icm_drv_data_t g_icm426xx_data; */ static const mat33_fp_t lid_standard_ref = { { FLOAT_TO_FP(-1), 0, 0}, - { 0, FLOAT_TO_FP(-1), 0}, + { 0, FLOAT_TO_FP(1), 0}, { 0, 0, FLOAT_TO_FP(-1)} }; static const mat33_fp_t base_standard_ref = { @@ -72,7 +72,7 @@ struct motion_sensor_t motion_sensors[] = { .mutex = &g_lid_accel_mutex, .drv_data = &g_kx022_data, .port = I2C_PORT_SENSOR, - .i2c_spi_addr_flags = KX022_ADDR0_FLAGS, + .i2c_spi_addr_flags = KX022_ADDR1_FLAGS, .flags = MOTIONSENSE_FLAG_INT_SIGNAL, .rot_standard_ref = &lid_standard_ref, /* identity matrix */ .default_range = 2, /* g */ |