Coachz: correct g_sensor orientation

Correct the g-sensor oriention to match the latest board.

BRANCH=none
BUG=none
TEST=make BOARD=coachz -j
TEST=check the screen oriention.

Signed-off-by: hanwenchao <hanwenchao@huaqin.corp-partner.google.com>
Change-Id: Ia0a62cbf7abd64a6a89c300dcbd6f1b74c4616d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2589693
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Bob Moragues <moragues@chromium.org>
This commit is contained in:
hanwenchao 2020-12-14 21:11:50 +08:00 committed by Commit Bot
parent f96f176c30
commit 4309f89db8
1 changed files with 2 additions and 2 deletions

View File

@ -319,8 +319,8 @@ static struct bmi_drv_data_t g_bmi160_data;
/* Matrix to rotate accelerometer into standard reference frame */
const mat33_fp_t lid_standard_ref = {
{ 0, FLOAT_TO_FP(1), 0},
{ FLOAT_TO_FP(-1), 0, 0},
{ 0, FLOAT_TO_FP(-1), 0},
{ FLOAT_TO_FP(1), 0, 0},
{ 0, 0, FLOAT_TO_FP(1)}
};