summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2019-05-06 18:00:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-05-08 19:35:19 -0700
commitb8b8d41c4fe01cb068f2175831bc42e21e54bb1f (patch)
tree0f1a0578236b37d637290bdc2a6cbbb112d82591
parentd73bd949c0ff86a1881c5ac1ee07a45d9c311bbc (diff)
downloadchrome-ec-b8b8d41c4fe01cb068f2175831bc42e21e54bb1f.tar.gz
board: arcarda_ish: Fix gyro matrix
IMU Accel and Gyro matrices should be identical. BUG=b:132110508 TEST=testing "CTS verifier Gyroscope Measurement Test" Test was still failing when done manually, but the deltas were due to user error not invalid axis. BRANCH=master Change-Id: I29f790385d4203f326bceb9a5320b0c833de7b65 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1597965
-rw-r--r--board/arcada_ish/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/arcada_ish/board.c b/board/arcada_ish/board.c
index 09c7d7ecb1..025006b5a0 100644
--- a/board/arcada_ish/board.c
+++ b/board/arcada_ish/board.c
@@ -91,7 +91,7 @@ struct motion_sensor_t motion_sensors[] = {
.port = I2C_PORT_SENSOR,
.addr = LSM6DSM_ADDR1,
.default_range = 1000 | ROUND_UP_FLAG, /* dps */
- .rot_standard_ref = NULL, /* TODO rotate correctly */
+ .rot_standard_ref = &lid_rot_ref,
.min_frequency = LSM6DSM_ODR_MIN_VAL,
.max_frequency = LSM6DSM_ODR_MAX_VAL,
},