mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 00:21:46 +00:00
Ryu: Set default Gyro Range to 1000dps
To meet Android HiFi requirement, set gyro range to +/-1000dps. BRANCH=smaug TEST=Check range is correct from user space. BUG=chrome-os-partner:39900 Change-Id: I47541214c2242cfb4bba5ceb8a90f1ca63679e3c Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/286243 Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
42cd654080
commit
8619213704
@@ -306,7 +306,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.rot_standard_ref = NULL,
|
||||
.default_config = {
|
||||
.odr = 100000,
|
||||
.range = 8,
|
||||
.range = 8, /* g */
|
||||
.ec_rate = SUSPEND_SAMPLING_INTERVAL,
|
||||
}
|
||||
},
|
||||
@@ -323,7 +323,7 @@ struct motion_sensor_t motion_sensors[] = {
|
||||
.rot_standard_ref = NULL,
|
||||
.default_config = {
|
||||
.odr = 0,
|
||||
.range = 2000,
|
||||
.range = 1000, /* dps */
|
||||
.ec_rate = MAX_MOTION_SENSE_WAIT_TIME,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user