diff options
author | Heng-Ruey Hsu <henryhsu@google.com> | 2020-03-19 13:16:54 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-19 13:47:41 +0000 |
commit | ee0cd07ecf50972d0fa024ef579a00e44a6ef7d0 (patch) | |
tree | 1c24b94a2ab0c38b8ec8a06d5675e183cb1da6fd | |
parent | e9d97ff129e049b9a8b809a65a1fbba8b74b5e9c (diff) | |
download | chrome-ec-ee0cd07ecf50972d0fa024ef579a00e44a6ef7d0.tar.gz |
jacuzzi: Fix sensor rotation matrix
BUG=b:151693584
TEST=pass CTSV Accelerometer Measurement Tests
BRANCH=None
Change-Id: I9b23e6c32311722d53f76fb831aa72bc1331ad73
Signed-off-by: Heng-ruey Hsu <henryhsu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2109435
Reviewed-by: Ricky Liang <jcliang@chromium.org>
-rw-r--r-- | board/jacuzzi/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/jacuzzi/board.c b/board/jacuzzi/board.c index defcebd884..761f0cb3e2 100644 --- a/board/jacuzzi/board.c +++ b/board/jacuzzi/board.c @@ -339,8 +339,8 @@ 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)} }; |