diff options
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-x | src/survive_cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c index d6657bc..2ed0df0 100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -68,9 +68,9 @@ void ootx_packet_clbk_d(ootx_decoder_context *ct, ootx_packet* packet) b->fcalgibpha[1] = v6.fcal_1_gibphase; 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_y; - b->accel[2] = accel_dir_z; + b->accel[0] = v6.accel_dir_x; + b->accel[1] = v6.accel_dir_y; + b->accel[2] = v6.accel_dir_z; b->OOTXSet = 1; config_set_lighthouse(ctx->lh_config,b,id); |