diff options
author | cnlohr <lohr85@gmail.com> | 2018-03-18 02:45:09 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-03-18 22:21:59 -0400 |
commit | 179d8a02e231fe853831cdf886c9196929303adb (patch) | |
tree | 7de8df2fc9ef4d167398caebffe906985ed0cb54 /calibrate_client.c | |
parent | d21999e85f29edae7de8abdfb293da870e7fad47 (diff) | |
download | libsurvive-179d8a02e231fe853831cdf886c9196929303adb.tar.gz libsurvive-179d8a02e231fe853831cdf886c9196929303adb.tar.bz2 |
Moving things over... still todo:
* Make functions for changing temp configs.
* Make functions for config_read_str but where it checks the temp one first.
* Parse command-line options.
Diffstat (limited to 'calibrate_client.c')
-rw-r--r-- | calibrate_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calibrate_client.c b/calibrate_client.c index abfbabc..43ab821 100644 --- a/calibrate_client.c +++ b/calibrate_client.c @@ -142,7 +142,7 @@ void * GuiThread( void * v ) -int main() +int main( int argc, char ** argv ) { /* config_init(); @@ -161,7 +161,7 @@ int main() // config_save("config.json"); */ - ctx = survive_init( 1 ); + ctx = survive_init( argc, argv ); survive_install_light_fn( ctx, my_light_process ); survive_install_imu_fn( ctx, my_imu_process ); |