mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 22:41:44 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
cfae64d5de
commit
192d0b4da1
@@ -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] = {
|
||||
|
||||
Reference in New Issue
Block a user