From 334c070146ab32580957821c5b66d5a5e17ae78f Mon Sep 17 00:00:00 2001 From: Matt Gumbel Date: Mon, 12 Nov 2012 10:43:12 -0800 Subject: [PATCH] libsensors: modified default gyro orientation Updated for IVB reference board. This approach isn't scalable -- will need installer approach for future devices. For: AXIA-1092 Change-Id: Ie992380b3b05468e256afbb2f97e264097784ee1 Signed-off-by: Matt Gumbel --- bigcore/libsensors/SensorConfig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigcore/libsensors/SensorConfig.h b/bigcore/libsensors/SensorConfig.h index 124c5e0..2d7aa9c 100644 --- a/bigcore/libsensors/SensorConfig.h +++ b/bigcore/libsensors/SensorConfig.h @@ -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)) -- 2.11.0