diff options
author | loganliao <Logan_Liao@compal.corp-partner.google.com> | 2020-03-27 18:35:14 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-27 19:51:57 +0000 |
commit | c721a882e9a6153530c16844714227fceb4de08c (patch) | |
tree | 58ffd78f4e9dfeefcc28623991a590e834705958 | |
parent | 0855e3363d5185bb42d2926873deedfc2fba2dca (diff) | |
download | chrome-ec-c721a882e9a6153530c16844714227fceb4de08c.tar.gz |
Mushu : Base G-sensor config
G-sensor config is refer to Hatch. However G-sensor location is
different from Hatch. This patch correct the right value in Mushu.
BUG=b:152583296
BRANCH=none
TEST=test in the pre-build Mushu
Signed-off-by: loganliao <Logan_Liao@compal.corp-partner.google.com>
Change-Id: Ie36b004837aba9b5e3529ae383f8f3292887c3ee
Signed-off-by: loganliao <Logan_Liao@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2124427
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Bob Moragues <moragues@chromium.org>
Commit-Queue: Bob Moragues <moragues@chromium.org>
Tested-by: Bob Moragues <moragues@chromium.org>
-rw-r--r-- | board/mushu/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mushu/board.c b/board/mushu/board.c index 1155b33ffc..7fc8d05b22 100644 --- a/board/mushu/board.c +++ b/board/mushu/board.c @@ -226,8 +226,8 @@ static struct tcs3400_rgb_drv_data_t g_tcs3400_rgb_data = { /* Matrix to rotate accelrator into standard reference frame */ static const mat33_fp_t base_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, 0, FLOAT_TO_FP(-1)} }; /* |