From 000f5301b8b9d7ef7e2398b5ee269f30ceb614d0 Mon Sep 17 00:00:00 2001 From: Alexandru M Stan Date: Wed, 24 Jan 2018 10:14:27 -0800 Subject: 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 Signed-off-by: Alexandru M Stan Reviewed-on: https://chromium-review.googlesource.com/887947 Reviewed-by: Gwendal Grignou --- board/scarlet/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.1