diff options
author | cnlohr <lohr85@gmail.com> | 2017-03-14 01:34:10 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-03-14 01:34:10 -0400 |
commit | a630cc4252f3a64ca89e40fb726f103789734baa (patch) | |
tree | b136336ccb188e9c5f230c659f79ed02a14f28ec /calibrate.c | |
parent | 44dc07e5fff7421289397ecd1051bd56012faac6 (diff) | |
download | libsurvive-a630cc4252f3a64ca89e40fb726f103789734baa.tar.gz libsurvive-a630cc4252f3a64ca89e40fb726f103789734baa.tar.bz2 |
Update calibration system to use distances. Need to process through that data tomorrow.
Diffstat (limited to 'calibrate.c')
-rw-r--r-- | calibrate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/calibrate.c b/calibrate.c index 667089a..eb1a446 100644 --- a/calibrate.c +++ b/calibrate.c @@ -53,6 +53,7 @@ void my_light_process( struct SurviveObject * so, int sensor_id, int acode, int // if( timeinsweep < 0 ) return; survive_default_light_process( so, sensor_id, acode, timeinsweep, timecode, length ); + if( sensor_id < 0 ) return; if( acode == -1 ) return; //return; int jumpoffset = sensor_id; |