aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index cf65166..f270065 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -50,6 +50,11 @@ STATIC_CONFIG_ITEM( CONFIG_POSER, "configposer", 's', "Poser used for calibratio
static void handle_calibration( struct SurviveCalData *cd );
static void reset_calibration( struct SurviveCalData * cd );
+void ootx_error_clbk_d(ootx_decoder_context *ct, const char *msg) {
+ SurviveContext *ctx = (SurviveContext *)(ct->user);
+ SV_INFO("%s", msg);
+}
+
void ootx_packet_clbk_d(ootx_decoder_context *ct, ootx_packet* packet)
{
static uint8_t lighthouses_completed = 0;
@@ -196,7 +201,7 @@ void survive_cal_install( struct SurviveContext * ctx )
cd->ConfigPoserFn = GetDriverByConfig(ctx, "Poser", "configposer", "SBA", 0);
ootx_packet_clbk = ootx_packet_clbk_d;
-
+ ootx_error_clbk = ootx_error_clbk_d;
ctx->calptr = cd;
}