summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2014-03-31 12:15:11 -0700
committerNick Vaccaro <nvaccaro@google.com>2014-03-31 12:50:27 -0700
commit864e0965786d598cf6313da4b6ade65f95d4f50e (patch)
tree30cc5c19b873a06175b3e3ca14b30ff35fc72a18
parenta73d574dda77810ae10046c68e7a9aa38ad77603 (diff)
downloadinvensense-864e0965786d598cf6313da4b6ade65f95d4f50e.tar.gz
Invensense: 6515: disable pressure sensor
Fixes bug id 13729545 Change-Id: I1aa643aa63c447b4fd38d069d499c34552acc41d
-rwxr-xr-x6515/libsensors_iio/MPLSensor.h2
-rwxr-xr-x6515/libsensors_iio/sensors.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/6515/libsensors_iio/MPLSensor.h b/6515/libsensors_iio/MPLSensor.h
index aa9dbc5..a80c224 100755
--- a/6515/libsensors_iio/MPLSensor.h
+++ b/6515/libsensors_iio/MPLSensor.h
@@ -151,7 +151,7 @@ class PressureSensor;
#define ENABLE_LP_QUAT_FEAT
/* Enable Pressure sensor support */
-#define ENABLE_PRESSURE
+#undef ENABLE_PRESSURE
/* Screen Orientation is not currently supported */
int isDmpScreenAutoRotationEnabled()
diff --git a/6515/libsensors_iio/sensors.h b/6515/libsensors_iio/sensors.h
index 987eaff..d7ede3c 100755
--- a/6515/libsensors_iio/sensors.h
+++ b/6515/libsensors_iio/sensors.h
@@ -35,7 +35,7 @@ __BEGIN_DECLS
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
#endif
-#define ENABLE_PRESSURE
+#undef ENABLE_PRESSURE
enum {
ID_GY = 0,