summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Bunker <trevorbunker@google.com>2016-06-03 13:48:10 -0700
committerTrevor Bunker <trevorbunker@google.com>2016-06-06 17:01:47 +0000
commite4017059458e81e749939b73eb70d8cbdb7d176e (patch)
tree3ea2416e021b1b9cd7e170698ac971f7bf5be067
parent59d1ae754c8bed487113a3528182efc6583c8d54 (diff)
downloadcontexthub-e4017059458e81e749939b73eb70d8cbdb7d176e.tar.gz
hubconnection: allow STEP_COUNTER to use sampling rate
Bug: 22701665 Change-Id: I955d9b979ec409d98ca70c19894976cfd9604ce7 (cherry picked from commit 07e76128ebc1a3440d82a73bca0300e0d7e2335e)
-rw-r--r--sensorhal/hubconnection.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sensorhal/hubconnection.cpp b/sensorhal/hubconnection.cpp
index bcb7ba5e..b49644b9 100644
--- a/sensorhal/hubconnection.cpp
+++ b/sensorhal/hubconnection.cpp
@@ -143,7 +143,6 @@ HubConnection::HubConnection()
mSensorState[COMMS_SENSOR_STEP_DETECTOR].sensorType = SENS_TYPE_STEP_DETECT;
mSensorState[COMMS_SENSOR_STEP_DETECTOR].rate = SENSOR_RATE_ONCHANGE;
mSensorState[COMMS_SENSOR_STEP_COUNTER].sensorType = SENS_TYPE_STEP_COUNT;
- mSensorState[COMMS_SENSOR_STEP_COUNTER].rate = SENSOR_RATE_ONCHANGE;
mSensorState[COMMS_SENSOR_SIGNIFICANT_MOTION].sensorType = SENS_TYPE_SIG_MOTION;
mSensorState[COMMS_SENSOR_SIGNIFICANT_MOTION].rate = SENSOR_RATE_ONESHOT;
mSensorState[COMMS_SENSOR_GRAVITY].sensorType = SENS_TYPE_GRAVITY;