Skip to content

Commit

Permalink
fix problem on half-cycle slip handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomojitakasu committed Jan 30, 2018
1 parent 5977ec1 commit 37093a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/rcv/novatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,11 @@ static int decode_rangecmpb(raw_t *raw)
lli=0;
}
if (!parity) lli|=LLI_HALFC;
#if 0
if (halfc ) lli|=LLI_HALFA;
#else
if (halfc!=raw->halfc[sat-1][pos]) lli|=LLI_SLIP;
#endif
raw->tobs [sat-1][pos]=raw->time;
raw->lockt[sat-1][pos]=lockt;
raw->halfc[sat-1][pos]=halfc;
Expand Down Expand Up @@ -441,7 +445,11 @@ static int decode_rangeb(raw_t *raw)
lli=0;
}
if (!parity) lli|=LLI_HALFC;
#if 0
if (halfc ) lli|=LLI_HALFA;
#else
if (halfc!=raw->halfc[sat-1][pos]) lli|=LLI_SLIP;
#endif
raw->tobs [sat-1][pos]=raw->time;
raw->lockt[sat-1][pos]=lockt;
raw->halfc[sat-1][pos]=halfc;
Expand Down

0 comments on commit 37093a0

Please sign in to comment.