diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-02 10:10:33 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-02 10:10:33 -0600 |
commit | 75460f240c9d003e4ca2e6dda9b2146a74df7ffa (patch) | |
tree | 957b26f0539df176b61ad2ec72fbb0658b147919 /data_recorder.c | |
parent | 2b63278497130d01b1fbc7e6a94b6ad8e32ab4dd (diff) | |
parent | 1724abef15a4090640bd82ba408681438316de7e (diff) | |
download | libsurvive-75460f240c9d003e4ca2e6dda9b2146a74df7ffa.tar.gz libsurvive-75460f240c9d003e4ca2e6dda9b2146a74df7ffa.tar.bz2 |
Merge remote-tracking branch 'origin/master' into imu
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/data_recorder.c b/data_recorder.c index eef233d..968ae17 100644 --- a/data_recorder.c +++ b/data_recorder.c @@ -11,16 +11,12 @@ int main(int argc, char **argv) { if (ctx == 0) // implies -help or similiar return 0; - const char *dataout_file = survive_configs(ctx, "record", SC_SETCONFIG, ""); + const char *dataout_file = survive_configs(ctx, "record", SC_GET, ""); if (strlen(dataout_file) == 0) { survive_configi(ctx, "record-stdout", SC_SET | SC_OVERRIDE, 1); } survive_startup(ctx); - if (survive_configi(ctx, "calibrate", SC_GET, 1)) { - SV_INFO("Installing calibration"); - survive_cal_install(ctx); - } while (survive_poll(ctx) == 0) { } |