summaryrefslogtreecommitdiff
path: root/board/boten
diff options
context:
space:
mode:
authorreno.wang <reno.wang@lcfc.corp-partner.google.com>2021-03-23 14:01:54 +0800
committerCommit Bot <commit-bot@chromium.org>2021-03-23 19:06:13 +0000
commitb505164da7edb881c87dd5381eb09fb41b18a05a (patch)
treebfa6a920db6d59c8c24a54f47cdd5eec3a017536 /board/boten
parent8c45a1c9cbddcc708c9961c4cb55b21516d95fe7 (diff)
downloadchrome-ec-b505164da7edb881c87dd5381eb09fb41b18a05a.tar.gz
boten: To correct base sensor's X-axis and Y-axis setting
The base sensor's rotation matrix is wrong and cause CTS verifier get failure result. After correct it, CTS verifier can pass. BRANCH=boten BUG=b:182320815 TEST=Verify CTS-Verifier's GyroscopeMeasurementTestActivity and AccelerometerMeasurementTestActivity pass Signed-off-by: reno.wang <reno.wang@lcfc.corp-partner.google.com> Change-Id: Ic5e8070fb3e9a43ef4bd088977f98060b2147d57 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780462 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/boten')
-rw-r--r--board/boten/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/boten/board.c b/board/boten/board.c
index 4ca4141218..a544377aa7 100644
--- a/board/boten/board.c
+++ b/board/boten/board.c
@@ -369,8 +369,8 @@ static const mat33_fp_t lid_standard_ref = {
};
static const mat33_fp_t base_standard_ref = {
- { 0, FLOAT_TO_FP(-1), 0},
{ FLOAT_TO_FP(1), 0, 0},
+ { 0, FLOAT_TO_FP(1), 0},
{ 0, 0, FLOAT_TO_FP(1)}
};