aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorMike Turvey <mturvey6@gmail.com>2018-01-05 04:09:54 -0700
committerMike Turvey <mturvey6@gmail.com>2018-01-05 04:09:54 -0700
commited85661121c3ed8769a69d059fd3162aec33c6fe (patch)
treee5fea4c0e03d09122ac90de0f28617f3b62326e6 /test.c
parent735a8bd11070b0c563e891ff8b70ce297a52a367 (diff)
downloadlibsurvive-ed85661121c3ed8769a69d059fd3162aec33c6fe.tar.gz
libsurvive-ed85661121c3ed8769a69d059fd3162aec33c6fe.tar.bz2
Update test.c to do calibration
Diffstat (limited to 'test.c')
-rw-r--r--test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.c b/test.c
index 4909d50..c9f03d7 100644
--- a/test.c
+++ b/test.c
@@ -85,6 +85,8 @@ int main()
dump_iface( survive_get_so_by_name( ctx, "TR0" ), "TR0" );
dump_iface( survive_get_so_by_name( ctx, "WW0" ), "WW0" );
+ survive_cal_install(ctx);
+
while(survive_poll(ctx) == 0)
{
double Now = OGGetAbsoluteTime();