diff options
author | earl_wang <Earl_Wang@compal.corp-partner.google.com> | 2021-11-10 01:27:09 -0500 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-11 06:07:35 +0000 |
commit | c669224a0da735e676478b147cf7c282179b12c8 (patch) | |
tree | be66d323f3dc8ebe4e8de22aa20c30dd19407bc2 /board/felwinter | |
parent | 27bdf8cb59509d5334017a00ad31d82e2c3b6817 (diff) | |
download | chrome-ec-c669224a0da735e676478b147cf7c282179b12c8.tar.gz |
Felwinter: Modify lid_standard_ref matrix valuestabilize-14336.B-main
Modify lid_standard_ref matrix value to fit felwinter design.
BUG=b:205670200
BRANCH=main
TEST=Check "ectool motionsense" to make sure all the value are right
Signed-off-by: earl_wang <earl_wang@compal.corp-partner.google.com>
Change-Id: I0b5eaa6c7ef60e28c1a883bab636bcad5fb58d6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3270228
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/felwinter')
-rw-r--r-- | board/felwinter/sensors.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/felwinter/sensors.c b/board/felwinter/sensors.c index febf54d407..b25d39f136 100644 --- a/board/felwinter/sensors.c +++ b/board/felwinter/sensors.c @@ -45,11 +45,10 @@ K_MUTEX_DEFINE(g_base_accel_mutex); static struct stprivate_data g_lis2dw12_data; static struct lsm6dso_data lsm6dso_data; -/* TODO(b/184779333): calibrate the orientation matrix on later board stage */ static const mat33_fp_t lid_standard_ref = { - { 0, FLOAT_TO_FP(1), 0}, { FLOAT_TO_FP(1), 0, 0}, - { 0, 0, FLOAT_TO_FP(-1)} + { 0, FLOAT_TO_FP(1), 0}, + { 0, 0, FLOAT_TO_FP(1)} }; /* TODO(b/184779743): verify orientation matrix */ |