aboutsummaryrefslogtreecommitdiff
path: root/calibrate.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-20 01:42:32 -0400
committercnlohr <lohr85@gmail.com>2017-03-20 01:42:32 -0400
commit8253e3c3adbb54ebc3d3c8e02c017e900a83edb0 (patch)
tree55e9b2542f28f491f33350fb74c7c048f167a939 /calibrate.c
parenta229dec7ee46873e0b590fdbd34feb29112e4f0d (diff)
downloadlibsurvive-8253e3c3adbb54ebc3d3c8e02c017e900a83edb0.tar.gz
libsurvive-8253e3c3adbb54ebc3d3c8e02c017e900a83edb0.tar.bz2
log synctimes.
Diffstat (limited to 'calibrate.c')
-rw-r--r--calibrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calibrate.c b/calibrate.c
index 726a8cc..f27131a 100644
--- a/calibrate.c
+++ b/calibrate.c
@@ -56,7 +56,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;
+ if( acode < 0 ) return;
//return;
int jumpoffset = sensor_id;
if( strcmp( so->codename, "WM0" ) == 0 ) jumpoffset += 32;