OSDN Git Service

libsensors: modified default gyro orientation
[android-x86/hardware-intel-libsensors.git] / bigcore / libsensors / SensorConfig.h
index 124c5e0..2d7aa9c 100644 (file)
@@ -150,9 +150,9 @@ inline float convert_from_vtf_format(int size, int exponent, unsigned int value)
 #define DEF_ORIENT_ACCEL_Y                   -1
 #define DEF_ORIENT_ACCEL_Z                   -1
 
-#define DEF_ORIENT_GYRO_X                   -1
-#define DEF_ORIENT_GYRO_Y                   -1
-#define DEF_ORIENT_GYRO_Z                   -1
+#define DEF_ORIENT_GYRO_X                   1
+#define DEF_ORIENT_GYRO_Y                   1
+#define DEF_ORIENT_GYRO_Z                   1
 
 // G to m/s2
 #define CONVERT_FROM_VTF16(s,d,x)      (convert_from_vtf_format(s,d,x))