summaryrefslogtreecommitdiff
path: root/libsensors_iio/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors_iio/configuration.h')
-rw-r--r--libsensors_iio/configuration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsensors_iio/configuration.h b/libsensors_iio/configuration.h
index 03ee9b0..a7bf75f 100644
--- a/libsensors_iio/configuration.h
+++ b/libsensors_iio/configuration.h
@@ -27,11 +27,11 @@
#define CONFIG_ST_HAL_MAX_SAMPLING_FREQUENCY 200
#define CONFIG_ST_HAL_DEBUG_LEVEL 0
-#define CONFIG_ST_HAL_ACCEL_ROT_MATRIX 1,0,0,0,1,0,0,0,1
+#define CONFIG_ST_HAL_ACCEL_ROT_MATRIX 1,0,0,0,-1,0,0,0,-1
#define CONFIG_ST_HAL_ACCEL_RANGE 17
#define CONFIG_ST_HAL_MAGN_ROT_MATRIX 1,0,0,0,1,0,0,0,1
#define CONFIG_ST_HAL_MAGN_RANGE 1000
-#define CONFIG_ST_HAL_GYRO_ROT_MATRIX 1,0,0,0,1,0,0,0,1
+#define CONFIG_ST_HAL_GYRO_ROT_MATRIX 1,0,0,0,1,0,0,0,-1
#define CONFIG_ST_HAL_GYRO_RANGE 35