From b16bb6bd7b90e457b6306eeec43bc57d945a2cb0 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Mon, 25 Aug 2014 18:05:40 -0700 Subject: samus: modify accel orientation data for correct lid angle Changed accelerometer orientation data to calculate correct lid angle. BUG=chrome-os-partner:27313 BRANCH=none TEST=used "lidangle on" from ec console to print lid angle and verified correct lid angle as I opened and closed lid. Change-Id: If5f26ebe1b81449fe09741894a342a4a29e177e3 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/214101 Reviewed-by: Sheng-liang Song --- board/samus/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samus/board.c b/board/samus/board.c index e1c528f30a..b536143279 100644 --- a/board/samus/board.c +++ b/board/samus/board.c @@ -286,9 +286,9 @@ struct accel_orientation acc_orient = { { 0, 0, 1} }, .rot_hinge_180 = { - {-1, 0, 0}, + { 1, 0, 0}, { 0, 1, 0}, - { 0, 0, -1} + { 0, 0, 1} }, .rot_standard_ref = { {-1, 0, 0}, -- cgit v1.2.1