summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-10-24 22:48:39 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-10-24 22:48:39 -0700
commit7e57174dddf1b955590485fc431a33575669939b (patch)
treee04711b74ff3513fbf7f6a826c97df6a6ed5f788
parenteac57a51c8b42d3174b40659f44c6a8352d6ef67 (diff)
Add timestamps & wrap lines
-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
+);