summaryrefslogtreecommitdiff
path: root/brnkl_motion.api
diff options
context:
space:
mode:
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
+);