diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/ezkinil/board.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c index 2db679ada4..20d1723043 100644 --- a/board/ezkinil/board.c +++ b/board/ezkinil/board.c @@ -60,6 +60,11 @@ const mat33_fp_t base_standard_ref = { { FLOAT_TO_FP(-1), 0, 0}, { 0, 0, FLOAT_TO_FP(-1)} }; +const mat33_fp_t base_standard_ref_1 = { + { FLOAT_TO_FP(1), 0, 0}, + { 0, FLOAT_TO_FP(-1), 0}, + { 0, 0, FLOAT_TO_FP(-1)} +}; const mat33_fp_t lid_standard_ref = { { FLOAT_TO_FP(-1), 0, 0}, { 0, FLOAT_TO_FP(-1), 0}, @@ -156,7 +161,7 @@ struct motion_sensor_t icm426xx_base_accel = { .port = I2C_PORT_SENSOR, .i2c_spi_addr_flags = ICM426XX_ADDR0_FLAGS, .default_range = 2, /* g, enough for laptop */ - .rot_standard_ref = &base_standard_ref, + .rot_standard_ref = &base_standard_ref_1, .min_frequency = ICM426XX_ACCEL_MIN_FREQ, .max_frequency = ICM426XX_ACCEL_MAX_FREQ, .config = { @@ -184,7 +189,7 @@ struct motion_sensor_t icm426xx_base_gyro = { .port = I2C_PORT_SENSOR, .i2c_spi_addr_flags = ICM426XX_ADDR0_FLAGS, .default_range = 1000, /* dps */ - .rot_standard_ref = &base_standard_ref, + .rot_standard_ref = &base_standard_ref_1, .min_frequency = ICM426XX_GYRO_MIN_FREQ, .max_frequency = ICM426XX_GYRO_MAX_FREQ, }; |