From ae4c1b502200456f472c71d7770eed30ba2a431d Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 14 Mar 2011 15:31:01 -0700 Subject: 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 --- libsensors/sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, { } }, }; -- cgit v1.1