aboutsummaryrefslogtreecommitdiff
path: root/calibrate.c
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-02-27 20:52:26 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-02-27 20:52:26 -0500
commite8d696e03128242be33eb0734addee645e894635 (patch)
treec099479bef1f196e8bf96cb6a25d4bbecf6ba601 /calibrate.c
parentf78983a584768a54503535be0366b07c97738299 (diff)
downloadlibsurvive-e8d696e03128242be33eb0734addee645e894635.tar.gz
libsurvive-e8d696e03128242be33eb0734addee645e894635.tar.bz2
basic config can be written to file
Diffstat (limited to 'calibrate.c')
-rw-r--r--calibrate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calibrate.c b/calibrate.c
index 8eedc88..9c01e8a 100644
--- a/calibrate.c
+++ b/calibrate.c
@@ -10,6 +10,8 @@
#include "src/survive_cal.h"
#include <DrawFunctions.h>
+#include "src/survive_config.h"
+
struct SurviveContext * ctx;
void HandleKey( int keycode, int bDown )
@@ -141,6 +143,7 @@ void * GuiThread( void * v )
int main()
{
ctx = survive_init( 0 );
+ config_init();
survive_install_light_fn( ctx, my_light_process );
survive_install_imu_fn( ctx, my_imu_process );