From 8e65bc97327b27014fc9507374a20bfc468e06ee Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Sun, 18 Mar 2018 21:44:58 -0600 Subject: Took out installation after users could install hooks --- data_recorder.c | 2 +- src/survive.c | 2 -- 2 files changed, 1 insertion(+), 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; -- cgit v1.2.3