summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-08-06 22:00:28 -0700
committerMathias Agopian <mathias@google.com>2013-08-06 22:00:53 -0700
commitf92a8fa0b3caa9e6a1363b485c392adee3f5aa81 (patch)
tree0e4947fb01af85ce3c5e71252eb6889a4a2fde8c
parent2a34df3e7851e7af4095fda80700562af17c4e28 (diff)
downloadplatform_hardware_invensense-f92a8fa0b3caa9e6a1363b485c392adee3f5aa81.tar.gz
platform_hardware_invensense-f92a8fa0b3caa9e6a1363b485c392adee3f5aa81.tar.bz2
platform_hardware_invensense-f92a8fa0b3caa9e6a1363b485c392adee3f5aa81.zip
fix build. new sensor hal header.
Change-Id: I21a14ee36bdada131248da72bcd248020bbc1598
-rw-r--r--60xx/libsensors/MPLSensor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/60xx/libsensors/MPLSensor.cpp b/60xx/libsensors/MPLSensor.cpp
index e766a7f..d669bf4 100644
--- a/60xx/libsensors/MPLSensor.cpp
+++ b/60xx/libsensors/MPLSensor.cpp
@@ -73,25 +73,25 @@ extern "C" {
static struct sensor_t sSensorList[] =
{ { "MPL Gyroscope", "Invensense", 1,
SENSORS_GYROSCOPE_HANDLE,
- SENSOR_TYPE_GYROSCOPE, 2000.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_GYROSCOPE, 2000.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
{ "MPL Accelerometer", "Invensense", 1,
SENSORS_ACCELERATION_HANDLE,
- SENSOR_TYPE_ACCELEROMETER, 10240.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_ACCELEROMETER, 10240.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
{ "MPL Magnetic Field", "Invensense", 1,
SENSORS_MAGNETIC_FIELD_HANDLE,
- SENSOR_TYPE_MAGNETIC_FIELD, 10240.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_MAGNETIC_FIELD, 10240.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
{ "MPL Orientation", "Invensense", 1,
SENSORS_ORIENTATION_HANDLE,
- SENSOR_TYPE_ORIENTATION, 360.0f, 1.0f, 9.7f, 10000, { } },
+ SENSOR_TYPE_ORIENTATION, 360.0f, 1.0f, 9.7f, 10000, 0, 0, { } },
{ "MPL Rotation Vector", "Invensense", 1,
SENSORS_ROTATION_VECTOR_HANDLE,
- SENSOR_TYPE_ROTATION_VECTOR, 10240.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_ROTATION_VECTOR, 10240.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
{ "MPL Linear Acceleration", "Invensense", 1,
SENSORS_LINEAR_ACCEL_HANDLE,
- SENSOR_TYPE_LINEAR_ACCELERATION, 10240.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_LINEAR_ACCELERATION, 10240.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
{ "MPL Gravity", "Invensense", 1,
SENSORS_GRAVITY_HANDLE,
- SENSOR_TYPE_GRAVITY, 10240.0f, 1.0f, 0.5f, 10000, { } },
+ SENSOR_TYPE_GRAVITY, 10240.0f, 1.0f, 0.5f, 10000, 0, 0, { } },
};
static unsigned long long irq_timestamp = 0;