aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-20 22:31:18 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-20 22:50:20 -0600
commita1027bceebb36afc4fa9d082277478abd8101eda (patch)
treef9692cad198f8e39e4fa0fe6cdd4cf1d5abcef5c /src/survive_cal.c
parent3c007f47a30b70f00fd642b14ef8f4127c46ffc3 (diff)
downloadlibsurvive-a1027bceebb36afc4fa9d082277478abd8101eda.tar.gz
libsurvive-a1027bceebb36afc4fa9d082277478abd8101eda.tar.bz2
Enabled and then cleaned up warnings
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index faf2ac7..ad62d22 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -417,7 +417,6 @@ static void handle_calibration( struct SurviveCalData *cd )
mkdir( "calinfo", 0755 );
#endif
int sen, axis, lh;
- FLT temp_syncs[SENSORS_PER_OBJECT][NUM_LIGHTHOUSES];
//Just to get it out of the way early, we'll calculate the sync-pulse-lengths here.
FILE * sync_time_info = fopen( "calinfo/synctime.csv", "w" );
@@ -620,7 +619,6 @@ static void handle_calibration( struct SurviveCalData *cd )
fsd.lengths[i][j][1] = cd->avglens[dataindex+1];
fsd.angles[i][j][0] = cd->avgsweeps[dataindex + 0];
fsd.angles[i][j][1] = cd->avgsweeps[dataindex + 1];
- fsd.synctimes[i][j] = temp_syncs[i][j];
}
int r = cd->ConfigPoserFn( cd->poseobjects[obj], (PoserData*)&fsd );