aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-08 21:17:50 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-03-08 21:17:50 -0500
commitd69cf82a079f93ae1109f70fd011a0efa75b44b5 (patch)
tree3de2e5df69576f67e9db2a3861d5571b85415f3d /include
parent26f55787820874629519c589f7c7c1ba1334ef54 (diff)
downloadlibsurvive-d69cf82a079f93ae1109f70fd011a0efa75b44b5.tar.gz
libsurvive-d69cf82a079f93ae1109f70fd011a0efa75b44b5.tar.bz2
shoehorn configuration into SurviveContext
Diffstat (limited to 'include')
-rw-r--r--include/libsurvive/survive.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index 7fd6046..03249e9 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -77,6 +77,8 @@ struct BaseStationData
FLT fcalgibmag[2];
};
+struct config_group;
+
struct SurviveContext
{
text_feedback_func faultfunction;
@@ -85,6 +87,9 @@ struct SurviveContext
imu_process_func imuproc;
angle_process_func angleproc;
+ struct config_group* global_config_values;
+ struct config_group* lh_config; //lighthouse configs
+
//Calibration data:
BaseStationData bsd[NUM_LIGHTHOUSES];