From 864e0965786d598cf6313da4b6ade65f95d4f50e Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Mon, 31 Mar 2014 12:15:11 -0700 Subject: Invensense: 6515: disable pressure sensor Fixes bug id 13729545 Change-Id: I1aa643aa63c447b4fd38d069d499c34552acc41d --- 6515/libsensors_iio/MPLSensor.h | 2 +- 6515/libsensors_iio/sensors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '6515') 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, -- cgit v1.2.3