1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Revert "Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder"

This reverts commit ea15b54a88.
This commit is contained in:
Javier 2020-03-07 11:36:47 +01:00
parent 8051f75a54
commit 79a47a8a49

View File

@ -487,6 +487,12 @@ int gps_l1_ca_telemetry_decoder_gs::general_work(int noutput_items __attribute__
current_symbol.TOW_at_current_symbol_ms = d_TOW_at_current_symbol_ms;
current_symbol.Flag_valid_word = flag_TOW_set;
if (flag_PLL_180_deg_phase_locked == true)
{
// correct the accumulated phase for the Costas loop phase shift, if required
current_symbol.Carrier_phase_rads += GPS_PI;
}
if (d_dump == true)
{
// MULTIPLEXED FILE RECORDING - Record results to file