From 86192137049c269838241acc5dd5a2a41e5b71af Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Thu, 16 Jul 2015 12:12:44 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/286243 Reviewed-by: Alec Berg --- board/ryu/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/ryu/board.c b/board/ryu/board.c index 7fd5bc5886..f8d8615f47 100644 --- a/board/ryu/board.c +++ b/board/ryu/board.c @@ -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, } },