aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-18 21:44:58 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-18 21:44:58 -0600
commit8e65bc97327b27014fc9507374a20bfc468e06ee (patch)
tree899cbdb2411466de83d302da05917138c6c436d8
parent7a3bd58da56f2072a059cfb147ee23616924b832 (diff)
downloadlibsurvive-8e65bc97327b27014fc9507374a20bfc468e06ee.tar.gz
libsurvive-8e65bc97327b27014fc9507374a20bfc468e06ee.tar.bz2
Took out installation after users could install hooks
-rw-r--r--data_recorder.c2
-rwxr-xr-xsrc/survive.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/data_recorder.c b/data_recorder.c
index 47c4010..e1dc014 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -138,9 +138,9 @@ int main(int argc, char **argv) {
survive_install_angle_fn(ctx, my_angle_process);
survive_install_info_fn(ctx, my_info_process);
+ survive_startup(ctx);
survive_cal_install(ctx);
- survive_startup(ctx);
if (!ctx) {
fprintf(stderr, "Fatal. Could not start\n");
diff --git a/src/survive.c b/src/survive.c
index 05c66d7..f0c24f5 100755
--- a/src/survive.c
+++ b/src/survive.c
@@ -217,8 +217,6 @@ int survive_startup( SurviveContext * ctx )
// start the thread to process button data
ctx->buttonservicethread = OGCreateThread(button_servicer, ctx);
- survive_install_button_fn(ctx, NULL);
- survive_install_raw_pose_fn(ctx, NULL);
const char * DriverName;