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-19 03:29:11 +0000 |
commit | 14dbee0eb462668b1d068a1d26a50bb6df29ebcb (patch) | |
tree | 9ecd8c7ae3a7bca603dbee3c79db7250f4388d90 | |
parent | 2f27508b0d24fb41c743db336faccc3511952ac4 (diff) | |
download | chrome-ec-14dbee0eb462668b1d068a1d26a50bb6df29ebcb.tar.gz |
Cerise: Change g-sensor setting for cerise
Config g-sensor matrixes.
BUG=b:171024223
BRANCH=firmware-kukui-12573.B
TEST= make -j BOARD=cerise
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/+/2437577
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Commit-Queue: Chen-Tsung Hsieh <chentsung@chromium.org>
-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 49580dc656..2f9fa19eda 100644 --- a/board/cerise/board.c +++ b/board/cerise/board.c @@ -317,15 +317,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 */ |