diff options
author | cnlohr <lohr85@gmail.com> | 2017-03-08 00:30:48 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-03-08 00:30:48 -0500 |
commit | 394cbc465e776137834eea830038b43ea98f6268 (patch) | |
tree | 29e60f5257db7377236a1cd76b540685b76a7b8b /src/survive_cal.c | |
parent | 57e82519b4844620851784e7682a2c562cb06d47 (diff) | |
download | libsurvive-394cbc465e776137834eea830038b43ea98f6268.tar.gz libsurvive-394cbc465e776137834eea830038b43ea98f6268.tar.bz2 |
Switch types over to avoiding extra struct keyword. Switch poses to "SurvivePose" type.
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; |