diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-11-17 13:03:51 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-11-18 13:33:27 -0800 |
commit | 192d0b4da107aa65c3e340e883034811601cbe17 (patch) | |
tree | bb4fea492a568688852e1231e1e012c449d74319 | |
parent | cfae64d5ded2b51fd6892dbd1084abda7f503c20 (diff) | |
download | chrome-ec-192d0b4da107aa65c3e340e883034811601cbe17.tar.gz |
kunimitsu: Gyro is not used for lid calculation
Fix a cut and paste error: Gyro should be disabled until the AP asks for
it. It is not used in lid angle calculation.
BUG=none
BRANCH=kunimitsu
TEST=compile
Change-Id: Id70058d76382434cb83b014b1c7439234167406c
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/312983
Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r-- | board/kunimitsu/board.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/kunimitsu/board.c b/board/kunimitsu/board.c index 392d4513d4..07c561715e 100644 --- a/board/kunimitsu/board.c +++ b/board/kunimitsu/board.c @@ -314,10 +314,9 @@ struct motion_sensor_t motion_sensors[] = { .odr = 0, .ec_rate = 0, }, - /* EC use accel for angle detection */ [SENSOR_CONFIG_EC_S0] = { - .odr = 119000 | ROUND_UP_FLAG, - .ec_rate = 100, + .odr = 0 + .ec_rate = 0, }, /* unused */ [SENSOR_CONFIG_EC_S3] = { |