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:
Gwendal Grignou
2015-07-16 12:12:44 -07:00
committed by ChromeOS Commit Bot
parent 42cd654080
commit 8619213704

View File

@@ -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,
}
},