aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-03-18 19:48:25 -0400
committercnlohr <lohr85@gmail.com>2018-03-18 19:48:25 -0400
commitc44cca299fbea4196af125dfedd8e4d60f3ae0cc (patch)
treefa71f6e343d941684ee275fd38c24d0105142cb4 /src/survive_cal.c
parent5aa20d099b9fe7539050a5baa4c70b678aeab64e (diff)
downloadlibsurvive-c44cca299fbea4196af125dfedd8e4d60f3ae0cc.tar.gz
libsurvive-c44cca299fbea4196af125dfedd8e4d60f3ae0cc.tar.bz2
Almost at a config interface.
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index 6f556f3..4b1df89 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -8,6 +8,7 @@
// to not include it at all on any stripped-down versions of libsurvive.
//
+
#include "survive_cal.h"
#include "survive_internal.h"
#include "survive_reproject.h"
@@ -178,8 +179,9 @@ void survive_cal_install( struct SurviveContext * ctx )
}
const char * DriverName;
-// const char * PreferredPoser = survive_config_reads(ctx, "configposer", "PoserCharlesSlow");
- const char * PreferredPoser = survive_config_reads(ctx, "configposer", "PoserTurveyTori");
+// const char * PreferredPoser = survive_configs(ctx, "configposer", "PoserCharlesSlow");
+ const char * PreferredPoser = survive_configs(ctx, "configposer", SC_SETCONFIG, "PoserTurveyTori");
+
PoserCB PreferredPoserCB = 0;
const char * FirstPoser = 0;
printf( "Available posers:\n" );