diff options
author | Mike Lee <mike5@huaqin.corp-partner.google.com> | 2020-09-29 09:21:12 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-16 13:05:01 +0000 |
commit | 2986514c02f77f94c366f5cb55a66a35ea6586ff (patch) | |
tree | 81fc1303d076cced9edbb14d7e4c966cfe6d714b /board/cerise | |
parent | e1d9a3da41cb5bc8ed71e300e54a010fc265e0ff (diff) | |
download | chrome-ec-2986514c02f77f94c366f5cb55a66a35ea6586ff.tar.gz |
Cerise: Change g-sensor setting for cerise
Config g-sensor matrixes.
BUG=b:171024223
BRANCH=firmware-kukui-12573.B
TEST=buildall pass
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I18e463631f17544044b8128fa26e2ddc0e4f90f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2437570
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Aaron Zhang <zhangjianbo@huaqin.corp-partner.google.com>
Diffstat (limited to 'board/cerise')
-rw-r--r-- | board/cerise/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/cerise/board.c b/board/cerise/board.c index 0a04842e35..6f7f67a529 100644 --- a/board/cerise/board.c +++ b/board/cerise/board.c @@ -335,15 +335,15 @@ static struct mutex g_base_mutex; /* Rotation matrixes */ static const mat33_fp_t base_standard_ref = { - {FLOAT_TO_FP(1), 0, 0}, {0, FLOAT_TO_FP(-1), 0}, + {FLOAT_TO_FP(-1), 0, 0}, {0, 0, FLOAT_TO_FP(-1)} }; static const mat33_fp_t lid_standard_ref = { - {FLOAT_TO_FP(1), 0, 0}, {0, FLOAT_TO_FP(1), 0}, - {0, 0, FLOAT_TO_FP(1) } + {FLOAT_TO_FP(1), 0, 0}, + {0, 0, FLOAT_TO_FP(-1)} }; /* sensor private data */ |