diff options
author | Joshua Allen <axlecrusher@gmail.com> | 2017-03-08 20:10:22 -0500 |
---|---|---|
committer | Joshua Allen <axlecrusher@gmail.com> | 2017-03-08 20:10:22 -0500 |
commit | 4384e9850016e2117fda6e50499afec797993002 (patch) | |
tree | 6eae1ca4c09e839c8acbabe3f4be7f5ef204c295 /src/survive_cal.c | |
parent | b13b5f9af2c2803f919d8897cd3ed5d24831cad3 (diff) | |
parent | 5eeecb19eb884baf4781280a9c8e1c394fe9c669 (diff) | |
download | libsurvive-4384e9850016e2117fda6e50499afec797993002.tar.gz libsurvive-4384e9850016e2117fda6e50499afec797993002.tar.bz2 |
Merge branch 'master' of github.com:cnlohr/libsurvive
Diffstat (limited to 'src/survive_cal.c')
-rw-r--r-- | 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 33d1faa..2acf51c 100644 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -27,8 +27,8 @@ static void reset_calibration( struct SurviveCalData * cd ); void ootx_packet_clbk_d(ootx_decoder_context *ct, ootx_packet* packet) { - struct SurviveContext * ctx = (struct SurviveContext*)(ct->user); - struct SurviveCalData * cd = ctx->calptr; + SurviveContext * ctx = (SurviveContext*)(ct->user); + SurviveCalData * cd = ctx->calptr; int id = ct->user1; SV_INFO( "Got OOTX packet %d %p", id, cd ); @@ -36,7 +36,7 @@ void ootx_packet_clbk_d(ootx_decoder_context *ct, ootx_packet* packet) lighthouse_info_v6 v6; init_lighthouse_info_v6(&v6, packet->data); - struct BaseStationData * b = &ctx->bsd[id]; + BaseStationData * b = &ctx->bsd[id]; //print_lighthouse_info_v6(&v6); b->BaseStationID = v6.id; |