diff options
author | Alexandru M Stan <amstan@chromium.org> | 2018-01-24 10:14:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-27 20:17:36 -0800 |
commit | 000f5301b8b9d7ef7e2398b5ee269f30ceb614d0 (patch) | |
tree | 17dc13d21a9cebb564bfee9cc32f211ee4869385 | |
parent | 0f80ec94747db28e592c3a08b2568bc87cc5f295 (diff) | |
download | chrome-ec-000f5301b8b9d7ef7e2398b5ee269f30ceb614d0.tar.gz |
scarlet: gyro should be off by default
Things that need it will request it to turn on.
The only reason accel is on by default is because we need to be able to
poll it from time to time.
TEST=Motion related things still work
BUG=While looking at b/67743747
BRANCH=master
Change-Id: I08ea487058fb93ce6ff5fcc9054243d83e189e21
Suggested-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/887947
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
-rw-r--r-- | board/scarlet/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c index 97b4e9110d..4d55ebfee0 100644 --- a/board/scarlet/board.c +++ b/board/scarlet/board.c @@ -424,7 +424,7 @@ struct motion_sensor_t motion_sensors[] = { }, /* Enable gyro in S0 */ [SENSOR_CONFIG_EC_S0] = { - .odr = 10000 | ROUND_UP_FLAG, + .odr = 0, .ec_rate = 100 * MSEC, }, /* Sensor off in S3/S5 */ |