diff options
author | cnlohr <lohr85@gmail.com> | 2017-02-16 14:44:54 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-02-16 14:44:54 -0500 |
commit | f2d014016d73f067c224ee222bc3eab910848914 (patch) | |
tree | e98df6e5d4e85f8bd35c184b0136968c7e07af90 /data_recorder.c | |
parent | f782146df94b3b54965c2aed696d49e86870046d (diff) | |
parent | 05ff11b162145e327ba5839f77be09df5289f4d1 (diff) | |
download | libsurvive-f2d014016d73f067c224ee222bc3eab910848914.tar.gz libsurvive-f2d014016d73f067c224ee222bc3eab910848914.tar.bz2 |
Merge branch 'axlecrusher-master'
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 ) |