summaryrefslogtreecommitdiff
path: root/6515
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2014-06-11 19:34:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-11 19:34:19 +0000
commit027da058871b3a6b6c581a718fe6b1d1903a9379 (patch)
tree1572a1755f90cd1d765b8989a61c2fd749bf243a /6515
parentc162d6965285f228f8881cbb73d9064070d40278 (diff)
parente8a1ad4331dea19e1a4de533bdf459daee57a3d3 (diff)
downloadinvensense-027da058871b3a6b6c581a718fe6b1d1903a9379.tar.gz
am e8a1ad43: am 12c6e53c: Invensense: 6515: Send step counter event on activation of sensor
* commit 'e8a1ad4331dea19e1a4de533bdf459daee57a3d3': Invensense: 6515: Send step counter event on activation of sensor
Diffstat (limited to '6515')
-rw-r--r--6515/libsensors_iio/MPLSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/6515/libsensors_iio/MPLSensor.cpp b/6515/libsensors_iio/MPLSensor.cpp
index 63e1f4b..d1a9e7a 100644
--- a/6515/libsensors_iio/MPLSensor.cpp
+++ b/6515/libsensors_iio/MPLSensor.cpp
@@ -124,7 +124,7 @@ MPLSensor::MPLSensor(CompassSensor *compass, int (*m_pt2AccelCalLoadFunc)(long *
mPressureUpdate(0),
mQuatSensorTimestamp(0),
mStepSensorTimestamp(0),
- mLastStepCount(0),
+ mLastStepCount(-1),
mLeftOverBufferSize(0),
mInitial6QuatValueAvailable(0),
mFlushBatchSet(0),