aboutsummaryrefslogtreecommitdiff
path: root/src/survive_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/survive_process.c')
-rw-r--r--src/survive_process.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/survive_process.c b/src/survive_process.c
index 97fbc46..62459f2 100644
--- a/src/survive_process.c
+++ b/src/survive_process.c
@@ -51,14 +51,17 @@ void survive_default_light_process( SurviveObject * so, int sensor_id, int acode
static int use_bsd_cal = -1;
if(use_bsd_cal == -1) {
use_bsd_cal = survive_configi(ctx, "use-bsd-cal", SC_GET, 1);
+ if (use_bsd_cal == 0) {
+ SV_INFO("Not using BSD calibration values");
+ }
}
if(use_bsd_cal) {
BaseStationData * bsd = &ctx->bsd[base_station];
- //XXX TODO: This seriously needs to be worked on. See: https://github.com/cnlohr/libsurvive/issues/18
- angle += bsd->fcalphase[axis];
+ // XXX TODO: This seriously needs to be worked on. See: https://github.com/cnlohr/libsurvive/issues/18
+ // angle += (use_bsd_cal == 2 ? -1 : 1) * bsd->fcal.phase[axis];
// angle += bsd->fcaltilt[axis] * predicted_angle(axis1);
-
+
//TODO!!!
}