summaryrefslogtreecommitdiff
path: root/sensorPlugins/stepCounter.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sensorPlugins/stepCounter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sensorPlugins/stepCounter.h b/sensorPlugins/stepCounter.h
index aff0917..b6f2807 100644
--- a/sensorPlugins/stepCounter.h
+++ b/sensorPlugins/stepCounter.h
@@ -25,6 +25,9 @@ private:
int interval;
QTimer *recordIntervalTimer;
QStepCounterSensor *stepcounterSensor;
+ int stepsOffset; //this is subtracted from the raw sensor value to compensate for daily step resets and boot offsets.
+
+ const QString fileName = "stepsOut.txt";
};
#endif // STEPCOUNTER_H