diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2021-02-18 10:07:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-23 20:43:54 +0000 |
commit | 26c09d5a67ae4832b7179060a585e065bff020b3 (patch) | |
tree | f34151196eda8df4ca0e4c30a03520eae8f04a74 | |
parent | c98d30869422c73d83d5e4f281dbe7417073c3e2 (diff) | |
download | chrome-ec-26c09d5a67ae4832b7179060a585e065bff020b3.tar.gz |
voema: fix base matrix
Fix the x-axis of voema matrix.
BUG=b:179001192
BRANCH=main
TEST=Check lid angle correct when DUT turn 90/180/270 degrees.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6c1f009651dff2227480d21a44894f250f4aaeb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2702996
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2710227
Tested-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | board/voema/sensors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/voema/sensors.c b/board/voema/sensors.c index e772a4178e..818cda1a79 100644 --- a/board/voema/sensors.c +++ b/board/voema/sensors.c @@ -87,7 +87,7 @@ static const mat33_fp_t lid_standard_ref = { }; const mat33_fp_t base_standard_ref = { - { 0, FLOAT_TO_FP(1), 0}, + { 0, FLOAT_TO_FP(-1), 0}, { FLOAT_TO_FP(-1), 0, 0}, { 0, 0, FLOAT_TO_FP(-1)} }; |