From c3235ace3df4fae68c11dcd449ab3a32afca72aa Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sun, 11 Mar 2018 03:53:12 -0400 Subject: remove TODO and fix xyz accelerometer data from the lighthouse. --- src/survive_cal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/survive_cal.c') diff --git a/src/survive_cal.c b/src/survive_cal.c index 7d83b64..d6657bc 100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -69,8 +69,8 @@ void ootx_packet_clbk_d(ootx_decoder_context *ct, ootx_packet* packet) b->fcalgibmag[0] = v6.fcal_0_gibmag; b->fcalgibmag[1] = v6.fcal_1_gibmag; b->accel[0] = accel_dir_x; - b->accel[1] = accel_dir_x; - b->accel[2] = accel_dir_x; + b->accel[1] = accel_dir_y; + b->accel[2] = accel_dir_z; b->OOTXSet = 1; config_set_lighthouse(ctx->lh_config,b,id); -- cgit v1.2.3