aboutsummaryrefslogtreecommitdiff
path: root/data_recorder.c
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-14 20:57:13 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-14 20:57:13 -0500
commite1e7bfbad7016e29ca3cbb4de2f93d37462ca251 (patch)
tree51498ee43cceb6587ab3c37e3f9bf048182cac54 /data_recorder.c
parent7d28d767ec888a189a338b984062b8097b63fddd (diff)
parent23a202f50fc0f9eb9127bebaf34c48d45776a25c (diff)
downloadlibsurvive-e1e7bfbad7016e29ca3cbb4de2f93d37462ca251.tar.gz
libsurvive-e1e7bfbad7016e29ca3cbb4de2f93d37462ca251.tar.bz2
Merge github.com:cnlohr/libsurvive
Diffstat (limited to 'data_recorder.c')
-rw-r--r--data_recorder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/data_recorder.c b/data_recorder.c
index 4c5627f..ced82c4 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -39,6 +39,8 @@ int buffertimeto[32*3];
void my_light_process( struct SurviveObject * so, int sensor_id, int acode, int timeinsweep, uint32_t timecode, uint32_t length )
{
+ survive_default_light_process( so, sensor_id, acode, timeinsweep, timecode, length );
+
if( acode == -1 ) return;
//return;
int jumpoffset = sensor_id;
@@ -77,6 +79,8 @@ void my_light_process( struct SurviveObject * so, int sensor_id, int acode, int
void my_imu_process( struct SurviveObject * so, int16_t * accelgyro, uint32_t timecode, int id )
{
+ survive_default_imu_process( so, accelgyro, timecode, id );
+
return;
//if( so->codename[0] == 'H' )
if( 1 )