aboutsummaryrefslogtreecommitdiff
path: root/calibrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'calibrate.c')
-rw-r--r--calibrate.c1
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;