summaryrefslogtreecommitdiff
path: root/6515/libsensors_iio/sensors.h
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2014-05-08 16:30:33 -0700
committerNick Vaccaro <nvaccaro@google.com>2014-05-08 21:46:25 -0700
commitf51dc826bb5e75a074a14c1227e750160b3fc694 (patch)
tree9f18db2447e38a1fc12d58fa1e6ad96d50e46916 /6515/libsensors_iio/sensors.h
parente1df3ea6fb4c1af4069e0610a5a7a8634b786e99 (diff)
downloadinvensense-f51dc826bb5e75a074a14c1227e750160b3fc694.tar.gz
Invensense: 6515: update HAL to 5.2.0 RC23
RC23 (driver and HAL combination) purports to fix the following RC22 issues: - Cadence fix to improve Step counter performance. - Batch mode wakes up device in suspend mode - Implement suspend_noirq method, removed unnecessary usleep - Handle bad compass data in HAL - Handle pressure support correctly in HAL Added the following fixes to RC23 HAL drop from Invensense: - fix bug caused when pressure sensor is disabled - remember pedometer poll rate - remove hard-coded pedometer poll time Bug: 14234011 Change-Id: I3e0a7b232d8047a66029b6af967752f9e653ab27
Diffstat (limited to '6515/libsensors_iio/sensors.h')
-rw-r--r--[-rwxr-xr-x]6515/libsensors_iio/sensors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/6515/libsensors_iio/sensors.h b/6515/libsensors_iio/sensors.h
index 17774ff..cfd8c68 100755..100644
--- a/6515/libsensors_iio/sensors.h
+++ b/6515/libsensors_iio/sensors.h
@@ -43,7 +43,9 @@ enum {
ID_A,
ID_M,
ID_RM,
+#ifdef ENABLE_PRESSURE
ID_PS,
+#endif
ID_O,
ID_RV,
ID_GRV,
@@ -104,7 +106,7 @@ enum {
/*****************************************************************************/
/*
- Android KitKat
+ Android KitKat
Populate sensor_t structure according to hardware sensors.h
{ name, vendor, version, handle, type, maxRange, resolution, power, minDelay,
fifoReservedEventCount, fifoMaxEventCount, reserved[] }