commit before merge
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user