diff options
author | CNLohr <charles@cnlohr.com> | 2018-03-18 22:01:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-18 22:01:56 -0400 |
commit | 7a3bd58da56f2072a059cfb147ee23616924b832 (patch) | |
tree | 578b865dc5037d5dbaa074458d7c0b542550e914 /data_recorder.c | |
parent | d4466fa46e88d9d146ae3116004f74c9beda50f7 (diff) | |
parent | 0996cfcee351bfd665f48a205d2f7fe37dec336c (diff) | |
download | libsurvive-7a3bd58da56f2072a059cfb147ee23616924b832.tar.gz libsurvive-7a3bd58da56f2072a059cfb147ee23616924b832.tar.bz2 |
Merge pull request #115 from cnlohr/charles_statbiguator
Charles statbiguator
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data_recorder.c b/data_recorder.c index 271b996..47c4010 100644 --- a/data_recorder.c +++ b/data_recorder.c @@ -128,8 +128,9 @@ int main(int argc, char **argv) { output_file = stdout; } - ctx = survive_init_with_config_cb(0, my_config_process); + ctx = survive_init( argc, argv ); + survive_install_htc_config_fn(ctx,my_config_process ); survive_install_light_fn(ctx, my_light_process); survive_install_imu_fn(ctx, my_imu_process); survive_install_lighthouse_pose_fn(ctx, my_lighthouse_process); @@ -139,6 +140,8 @@ int main(int argc, char **argv) { survive_cal_install(ctx); + survive_startup(ctx); + if (!ctx) { fprintf(stderr, "Fatal. Could not start\n"); exit(1); |