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

bug fix: removed call to set_local_code() from the init() function. This prevents the function set_local_code() from being called twice, with an invalid PRN during the first call

This commit is contained in:
mmajoral 2017-05-26 16:45:03 +02:00
parent 08c777968a
commit cc40f5c25c
14 changed files with 14 additions and 14 deletions

View File

@ -198,7 +198,7 @@ signed int GalileoE1Pcps8msAmbiguousAcquisition::mag()
void GalileoE1Pcps8msAmbiguousAcquisition::init() void GalileoE1Pcps8msAmbiguousAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -234,7 +234,7 @@ void GalileoE1PcpsAmbiguousAcquisition::init()
acquisition_cc_->init(); acquisition_cc_->init();
} }
set_local_code(); //set_local_code();
} }

View File

@ -200,7 +200,7 @@ signed int GalileoE1PcpsCccwsrAmbiguousAcquisition::mag()
void GalileoE1PcpsCccwsrAmbiguousAcquisition::init() void GalileoE1PcpsCccwsrAmbiguousAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -240,7 +240,7 @@ void
GalileoE1PcpsQuickSyncAmbiguousAcquisition::init() GalileoE1PcpsQuickSyncAmbiguousAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -204,7 +204,7 @@ signed int GalileoE1PcpsTongAmbiguousAcquisition::mag()
void GalileoE1PcpsTongAmbiguousAcquisition::init() void GalileoE1PcpsTongAmbiguousAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -206,7 +206,7 @@ signed int GalileoE5aNoncoherentIQAcquisitionCaf::mag()
void GalileoE5aNoncoherentIQAcquisitionCaf::init() void GalileoE5aNoncoherentIQAcquisitionCaf::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -230,7 +230,7 @@ void GpsL1CaPcpsAcquisition::init()
acquisition_cc_->init(); acquisition_cc_->init();
} }
set_local_code(); //set_local_code();
} }

View File

@ -136,7 +136,7 @@ signed int GpsL1CaPcpsAcquisitionFineDoppler::mag()
void GpsL1CaPcpsAcquisitionFineDoppler::init() void GpsL1CaPcpsAcquisitionFineDoppler::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -137,7 +137,7 @@ signed int GpsL1CaPcpsAssistedAcquisition::mag()
void GpsL1CaPcpsAssistedAcquisition::init() void GpsL1CaPcpsAssistedAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }
void GpsL1CaPcpsAssistedAcquisition::set_local_code() void GpsL1CaPcpsAssistedAcquisition::set_local_code()

View File

@ -197,7 +197,7 @@ signed int GpsL1CaPcpsMultithreadAcquisition::mag()
void GpsL1CaPcpsMultithreadAcquisition::init() void GpsL1CaPcpsMultithreadAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -194,7 +194,7 @@ signed int GpsL1CaPcpsOpenClAcquisition::mag()
void GpsL1CaPcpsOpenClAcquisition::init() void GpsL1CaPcpsOpenClAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -227,7 +227,7 @@ signed int GpsL1CaPcpsQuickSyncAcquisition::mag()
void GpsL1CaPcpsQuickSyncAcquisition::init() void GpsL1CaPcpsQuickSyncAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }

View File

@ -186,7 +186,7 @@ signed int GpsL1CaPcpsTongAcquisition::mag()
void GpsL1CaPcpsTongAcquisition::init() void GpsL1CaPcpsTongAcquisition::init()
{ {
acquisition_cc_->init(); acquisition_cc_->init();
set_local_code(); //set_local_code();
} }
void GpsL1CaPcpsTongAcquisition::set_local_code() void GpsL1CaPcpsTongAcquisition::set_local_code()

View File

@ -233,7 +233,7 @@ void GpsL2MPcpsAcquisition::init()
acquisition_cc_->init(); acquisition_cc_->init();
} }
set_local_code(); //set_local_code();
} }