summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-10-24 23:51:14 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-10-25 09:10:42 -0700
commitf3267b130e28e93aad9a3b4d529d343ff1709077 (patch)
tree188e679d5b1de52ec495477e6a113d64ee4c5216
parent8b0c2ec5fbca5c562a62eeed5583dff0bf0d1bc0 (diff)
Define has impact function
-rw-r--r--brnkl_motion.api3
1 files changed, 3 insertions, 0 deletions
diff --git a/brnkl_motion.api b/brnkl_motion.api
index ad4262a..247329c 100644
--- a/brnkl_motion.api
+++ b/brnkl_motion.api
@@ -6,6 +6,9 @@ FUNCTION le_result_t getSuddenImpact(
double z [N_CHANGE_BLOCKS] OUT,
uint64 timestamps[N_CHANGE_BLOCKS] OUT
);
+
+FUNCTION int8 hasSuddenImpact();
+
FUNCTION le_result_t getCurrentAcceleration(
double x OUT,
double y OUT,