summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-03-14 15:31:01 -0700
committerMathias Agopian <mathias@google.com>2011-03-14 15:31:01 -0700
commitae4c1b502200456f472c71d7770eed30ba2a431d (patch)
treec0c518756165f0c5ddea925bd0114b736e1a29f1 /libsensors
parentc6ce82ef1685d89262c3fe60ea815ced1b5a5c7c (diff)
downloaddevice_samsung_crespo-ae4c1b502200456f472c71d7770eed30ba2a431d.tar.gz
device_samsung_crespo-ae4c1b502200456f472c71d7770eed30ba2a431d.tar.bz2
device_samsung_crespo-ae4c1b502200456f472c71d7770eed30ba2a431d.zip
partially fix bug [4026143] Gyro sample rate is inconsistant with datasheet
Report 840 Hz instead of 833 Hz in the HAL. 840 Hz matches the datasheet. The actual sampling rate seems to be higher, which still needs to be investigated. Bug: 4026143 Change-Id: Ia5a45b131c304404db262e1bfe3d69c7a3a00c58
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/sensors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/sensors.cpp b/libsensors/sensors.cpp
index 4ba1265..ec2d754 100644
--- a/libsensors/sensors.cpp
+++ b/libsensors/sensors.cpp
@@ -90,7 +90,7 @@ static const struct sensor_t sSensorList[] = {
{ "K3G Gyroscope sensor",
"STMicroelectronics",
1, SENSORS_GYROSCOPE_HANDLE,
- SENSOR_TYPE_GYROSCOPE, RANGE_GYRO, CONVERT_GYRO, 6.1f, 1200, { } },
+ SENSOR_TYPE_GYROSCOPE, RANGE_GYRO, CONVERT_GYRO, 6.1f, 1190, { } },
};