aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-16 00:47:54 -0400
committercnlohr <lohr85@gmail.com>2017-03-16 00:47:54 -0400
commit6daf2506fcfbfcd26d63a8bddba319d67ecc33e5 (patch)
treef0743f70c4cbf877d3bdbcefdeb675505bb4ba72 /src/survive_cal.c
parent7dc4d180e0ce95ad6e9eeb2606a4516b93e872f5 (diff)
downloadlibsurvive-6daf2506fcfbfcd26d63a8bddba319d67ecc33e5.tar.gz
libsurvive-6daf2506fcfbfcd26d63a8bddba319d67ecc33e5.tar.bz2
Fix crashes in Linux without hidapi, and fix buffer overflow bug.
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index 0ea9337..985ab24 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -267,7 +267,7 @@ void survive_cal_angle( struct SurviveObject * so, int sensor_id, int acode, uin
}
if( sensors_visible < MIN_SENSORS_VISIBLE_PER_LH_FOR_CAL )
{
- printf( "Dev %d, LH %d not enough visible points found.\n", i, j );
+ //printf( "Dev %d, LH %d not enough visible points found.\n", i, j );
cd->found_common = 0;
return;
}