diff options
author | CNLohr <charles@cnlohr.com> | 2017-02-14 10:06:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 10:06:23 -0500 |
commit | 23a202f50fc0f9eb9127bebaf34c48d45776a25c (patch) | |
tree | d99f9611314c7a565190570e2c337f8ffc6ae9c3 /data_recorder.c | |
parent | f782146df94b3b54965c2aed696d49e86870046d (diff) | |
parent | 119a205619632076c7b258eaa6c28dd7bcd2c294 (diff) | |
download | libsurvive-23a202f50fc0f9eb9127bebaf34c48d45776a25c.tar.gz libsurvive-23a202f50fc0f9eb9127bebaf34c48d45776a25c.tar.bz2 |
Merge pull request #27 from cnlohr/cal_with_ootx
Cal with ootx
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 4 |
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 ) |