diff options
author | cnlohr <lohr85@gmail.com> | 2017-02-25 16:20:42 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-02-25 16:20:42 -0500 |
commit | 6fe8d04961c927d22a8b91e04d30450699867817 (patch) | |
tree | 9a55b346f33618f51f38d057ce1ff5d3b4c9fb84 /include | |
parent | f92f5dc93cbb53a99da51984541a7e4a70605639 (diff) | |
download | libsurvive-6fe8d04961c927d22a8b91e04d30450699867817.tar.gz libsurvive-6fe8d04961c927d22a8b91e04d30450699867817.tar.bz2 |
Update code to allow for headless mode.
Diffstat (limited to 'include')
-rw-r--r-- | include/survive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/survive.h b/include/survive.h index 1b9c29c..02c5969 100644 --- a/include/survive.h +++ b/include/survive.h @@ -68,7 +68,7 @@ typedef void (*light_process_func)( struct SurviveObject * so, int sensor_id, in typedef void (*imu_process_func)( struct SurviveObject * so, int16_t * accelgyro, uint32_t timecode, int id ); typedef void (*angle_process_func)( struct SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle ); -struct SurviveContext * survive_init(); +struct SurviveContext * survive_init( int headless ); //For any of these, you may pass in 0 for the function pointer to use default behavior. void survive_install_info_fn( struct SurviveContext * ctx, text_feedback_func fbp ); |