diff options
author | Inno.Park <ih.yoo.park@samsung.corp-partner.google.com> | 2019-07-08 13:43:22 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-09 05:14:22 +0000 |
commit | e071079c52d66dbe4f78421540b5cfaf0bb94895 (patch) | |
tree | 2e246d743ad9c0cce403ea405a53e6cd6b524ddc /board/kohaku/board.c | |
parent | 20ffd77737b40e1092bd4c37d220ffee2c6d0a0c (diff) | |
download | chrome-ec-e071079c52d66dbe4f78421540b5cfaf0bb94895.tar.gz |
kohaku: coordinate a rotation matrix for accel sensorstabilize-12331.B
Adjust the rotation matrix for lid accel to fit the kohaku board.
BUG=b:136626453
BRANCH=master
TEST=Boot and check if the system keyboard and touchpad work
Change-Id: Icd1f634924693b2e951bbb7cf5d090c980fa95b0
Signed-off-by: Inno.Park <ih.yoo.park@samsung.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1686925
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/kohaku/board.c')
-rw-r--r-- | board/kohaku/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/kohaku/board.c b/board/kohaku/board.c index 5635cbf3f8..10b33691f3 100644 --- a/board/kohaku/board.c +++ b/board/kohaku/board.c @@ -208,9 +208,9 @@ static const mat33_fp_t base_standard_ref = { * sure the rotaiton matrix for the lid sensor is correct. */ static const mat33_fp_t lid_standard_ref = { - { 0, FLOAT_TO_FP(-1), 0}, - { FLOAT_TO_FP(-1), 0, 0}, - { 0, 0, FLOAT_TO_FP(-1)} + { FLOAT_TO_FP(1), 0, 0}, + { 0, FLOAT_TO_FP(1), 0}, + { 0, 0, FLOAT_TO_FP(1)} }; struct motion_sensor_t motion_sensors[] = { |