From c5d0a802c38dbc31a784afbd8f10b919c78c28b4 Mon Sep 17 00:00:00 2001 From: dragonprevost Date: Mon, 22 Oct 2018 14:22:02 -0700 Subject: getSuddenImpact is designed to return 3 arrays that hold impact data --- brnkl_motion.api | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'brnkl_motion.api') diff --git a/brnkl_motion.api b/brnkl_motion.api index f5d3154..fd7c9b5 100644 --- a/brnkl_motion.api +++ b/brnkl_motion.api @@ -1,3 +1,5 @@ -FUNCTION int8 hasSuddenImpact (); -FUNCTION le_result_t getSuddenImpact (double x OUT, double y OUT, double z OUT); +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 -- cgit v1.2.3