commit before merge

This commit is contained in:
toni
2016-10-01 13:28:57 +02:00
parent 0bd9a5b5ce
commit 302c2deb02
4 changed files with 6 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include <Indoor/sensors/imu/StepDetection.h>
#include "AccelerometerSensor.h"
#include <Indoor/misc/Debug.h>
struct StepData {
const int stepsSinceLastEvent = 0;
@@ -45,6 +46,7 @@ public:
const bool step = sd.add(ts, data);
if (step) {
informListeners(ts, StepData(1));
Log::add("Step", "Step Detected!" + std::to_string(ts.ms()));
}
}