diff options
-rw-r--r-- | motionMonitor/motionMonitor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/motionMonitor/motionMonitor.c b/motionMonitor/motionMonitor.c index 8f72c47..ce557a1 100644 --- a/motionMonitor/motionMonitor.c +++ b/motionMonitor/motionMonitor.c @@ -82,6 +82,10 @@ le_result_t recordImpact(struct suddenImpacts_t* it, return LE_OK; } +int8_t brnkl_motion_hasSuddenImpact() { + return impacts.nValues > 0; +} + le_result_t brnkl_motion_getSuddenImpact(double* xAcc, size_t* xSize, double* yAcc, |