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 22:21:59 -0400
commit36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3 (patch)
tree42b402a51d13252398ac64f5308b4d6dad6820cb /src/survive_cal.c
parent179d8a02e231fe853831cdf886c9196929303adb (diff)
downloadlibsurvive-36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3.tar.gz
libsurvive-36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3.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" );