summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authortim.sk.lee <tim.sk.lee@samsung.com>2010-10-06 18:47:18 -0700
committerBrian Swetland <swetland@google.com>2010-10-08 21:30:07 -0700
commitac77f6b5cb155548abb439085466a4f21704a889 (patch)
tree10ebe9a8cde4f3e6138b41b05932a4f16ad2c62a /libsensors
parentb5487ce1d17429476475074ae1f50fb980df1522 (diff)
downloaddevice_samsung_crespo-ac77f6b5cb155548abb439085466a4f21704a889.tar.gz
device_samsung_crespo-ac77f6b5cb155548abb439085466a4f21704a889.tar.bz2
device_samsung_crespo-ac77f6b5cb155548abb439085466a4f21704a889.zip
S5PC11X: SENSOR: Change gyroscope reporting value unit
Gryoscope kernel driver uses 2000dps, so changed HAL to report gryscope values with correct unit Change-Id: I8b05684cb7e0c79f5cefb28c197f4b2e1ad768da Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/sensors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/sensors.h b/libsensors/sensors.h
index b0b6c17..b8359ee 100644
--- a/libsensors/sensors.h
+++ b/libsensors/sensors.h
@@ -102,7 +102,7 @@ __BEGIN_DECLS
#define CONVERT_O_R (-CONVERT_O)
// conversion of gyro data to SI units (radian/sec)
-#define CONVERT_GYRO ((8.75f / 1000.0f) * ((float)M_PI / 180.0f))
+#define CONVERT_GYRO ((70.0f / 1000.0f) * ((float)M_PI / 180.0f))
#define CONVERT_GYRO_X (CONVERT_GYRO)
#define CONVERT_GYRO_Y (CONVERT_GYRO)
#define CONVERT_GYRO_Z (CONVERT_GYRO)