diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-08-25 18:05:40 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-26 05:08:42 +0000 |
commit | b16bb6bd7b90e457b6306eeec43bc57d945a2cb0 (patch) | |
tree | 12b571469846077bf0d09be72509c0de9437ef2f | |
parent | 746743709747cfcd26be7b67df0e7fbc7a9b193f (diff) | |
download | chrome-ec-b16bb6bd7b90e457b6306eeec43bc57d945a2cb0.tar.gz |
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 <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/214101
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
-rw-r--r-- | board/samus/board.c | 4 |
1 files 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}, |