summaryrefslogtreecommitdiff
path: root/brnkl_motion.api
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2018-10-25 11:33:24 -0700
committerGitHub <noreply@github.com>2018-10-25 11:33:24 -0700
commit8b0c2ec5fbca5c562a62eeed5583dff0bf0d1bc0 (patch)
treee04711b74ff3513fbf7f6a826c97df6a6ed5f788 /brnkl_motion.api
parente75cdda1dcf6702b9cbb0a1826e584a4fc280dd4 (diff)
parent7e57174dddf1b955590485fc431a33575669939b (diff)
Merge pull request #5 from brnkl/integrate-impact-reporting
Integrate impact reporting
Diffstat (limited to 'brnkl_motion.api')
-rw-r--r--brnkl_motion.api14
1 files changed, 11 insertions, 3 deletions
diff --git a/brnkl_motion.api b/brnkl_motion.api
index fd7c9b5..ad4262a 100644
--- a/brnkl_motion.api
+++ b/brnkl_motion.api
@@ -1,5 +1,13 @@
DEFINE N_CHANGE_BLOCKS = 200;
-FUNCTION le_result_t getSuddenImpact (double x [N_CHANGE_BLOCKS] OUT, double y [N_CHANGE_BLOCKS] OUT, double z [N_CHANGE_BLOCKS] OUT);
-FUNCTION le_result_t getCurrentAcceleration (double x OUT, double y OUT, double z OUT);
- \ No newline at end of file
+FUNCTION le_result_t getSuddenImpact(
+ double x [N_CHANGE_BLOCKS] OUT,
+ double y [N_CHANGE_BLOCKS] OUT,
+ double z [N_CHANGE_BLOCKS] OUT,
+ uint64 timestamps[N_CHANGE_BLOCKS] OUT
+);
+FUNCTION le_result_t getCurrentAcceleration(
+ double x OUT,
+ double y OUT,
+ double z OUT
+);