diff options
author | Bruce <Bruce.Wan@quantatw.com> | 2015-11-18 18:35:28 +0800 |
---|---|---|
committer | ChromeOS bot <3su6n15k.default@developer.gserviceaccount.com> | 2015-11-19 21:58:48 +0000 |
commit | c3e46c346681afbd64ba2c8f808776a774eac231 (patch) | |
tree | d157672d4d5fb4294f9908f2a274de046287984b | |
parent | 639598b4b230d62d5def771d46610c138b184e86 (diff) | |
download | chrome-ec-c3e46c346681afbd64ba2c8f808776a774eac231.tar.gz |
Ultima: Yoga sensor setting fine tune
Fine tune matrix of base and lid.
BUG=chrome-os-partner:47225
BRANCH=firmware-strago-7287.B
TEST=make buildall
Change-Id: I654abfa525708dbb96672f77dc2b793b207d52db
Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/312923
Reviewed-by: Shawn N <shawnn@chromium.org>
Commit-Queue: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
Reviewed-by: Mohammed Habibulla <moch@google.com>
-rw-r--r-- | board/ultima/board.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/ultima/board.c b/board/ultima/board.c index 716208a0f3..e890f6223c 100644 --- a/board/ultima/board.c +++ b/board/ultima/board.c @@ -113,15 +113,15 @@ struct kxcj9_data g_kxcj9_data[2]; /* Matrix to rotate accelrator into standard reference frame */ const matrix_3x3_t base_standard_ref = { - { 0, FLOAT_TO_FP(1), 0}, - {FLOAT_TO_FP(-1), 0, 0}, - { 0, 0, FLOAT_TO_FP(1)} + { FLOAT_TO_FP(1), 0, 0}, + { 0, FLOAT_TO_FP(-1), 0}, + { 0, 0, FLOAT_TO_FP(-1)} }; const matrix_3x3_t lid_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)} + { 0, 0, FLOAT_TO_FP(1)} }; struct motion_sensor_t motion_sensors[] = { |