From a630cc4252f3a64ca89e40fb726f103789734baa Mon Sep 17 00:00:00 2001 From: cnlohr Date: Tue, 14 Mar 2017 01:34:10 -0400 Subject: Update calibration system to use distances. Need to process through that data tomorrow. --- calibrate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calibrate.c') 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; -- cgit v1.2.3