diff options
-rw-r--r-- | data_recorder.c | 2 | ||||
-rwxr-xr-x | src/survive.c | 2 |
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; |