summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrINanDO <rinando_@hotmail.com>2015-07-04 19:44:29 +0200
committerCaio Schnepper <caioschnepper@gmail.com>2015-07-08 16:41:41 -0300
commit9f65b44fb8bad330035abde68310f6da18e48d44 (patch)
treeb6ed71ec92c4d6ac1352fb21a66e9b3021ead207
parentd14fb8a41e6e1d5a45efe6aa5fa168d8f5a864f6 (diff)
downloaddevice_samsung_i9100-9f65b44fb8bad330035abde68310f6da18e48d44.zip
device_samsung_i9100-9f65b44fb8bad330035abde68310f6da18e48d44.tar.gz
device_samsung_i9100-9f65b44fb8bad330035abde68310f6da18e48d44.tar.bz2
libsensors: fix conversion data to degrees
The conversion has been changed from 1/1000 to 1/64 around April 30th Change-Id: I944db0ca0351bbe80a5de041e773d9a35bd90a10
-rw-r--r--libsensors/sensors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/sensors.h b/libsensors/sensors.h
index 3c846fe..b13ea06 100644
--- a/libsensors/sensors.h
+++ b/libsensors/sensors.h
@@ -123,7 +123,7 @@ __BEGIN_DECLS
#define CONVERT_M_Z (CONVERT_M)
/* conversion of orientation data to degree units */
-#define CONVERT_O (1.0f/1000.0f)
+#define CONVERT_O (1.0f/64.0f)
#define CONVERT_O_A (CONVERT_O)
#define CONVERT_O_P (CONVERT_O)
#define CONVERT_O_R (CONVERT_O)