1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-19 16:24:58 +00:00

Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next

This commit is contained in:
Carles Fernandez 2018-10-10 00:18:48 +02:00
commit 045b1c560a
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -246,7 +246,7 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
else if (obs->code[i] != CODE_NONE and obs->code[j] == CODE_NONE) else if (obs->code[i] != CODE_NONE and obs->code[j] == CODE_NONE)
{ {
P1 += P1_C1; /* C1->P1 */ P1 += P1_C1; /* C1->P1 */
PC = P1 + P1_P2; PC = P1 - P1_P2;
} }
else if (obs->code[i] == CODE_NONE and obs->code[j] != CODE_NONE) else if (obs->code[i] == CODE_NONE and obs->code[j] != CODE_NONE)
{ {