1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-23 00:16:57 +00:00

minor cleaning

This commit is contained in:
Carles Fernandez
2016-05-02 01:28:37 +02:00
parent ed8d647935
commit ae8eaee724
2 changed files with 51 additions and 50 deletions

View File

@@ -66,6 +66,7 @@ GNSSFlowgraph::GNSSFlowgraph(std::shared_ptr<ConfigurationInterface> configurati
GNSSFlowgraph::~GNSSFlowgraph() GNSSFlowgraph::~GNSSFlowgraph()
{} {}
void GNSSFlowgraph::start() void GNSSFlowgraph::start()
{ {
if (running_) if (running_)
@@ -603,6 +604,7 @@ void GNSSFlowgraph::set_signals_list()
available_gps_prn = tmp_set; available_gps_prn = tmp_set;
} }
} }
sv_list = configuration_->property("SBAS.prns", std::string("") ); sv_list = configuration_->property("SBAS.prns", std::string("") );
if( sv_list.length() > 0 ) if( sv_list.length() > 0 )
@@ -694,7 +696,7 @@ void GNSSFlowgraph::set_signals_list()
*/ */
std::list<Gnss_Signal>::iterator gnss_it = available_GNSS_signals_.begin(); std::list<Gnss_Signal>::iterator gnss_it = available_GNSS_signals_.begin();
// Preassignation if not defined at ChannelX.signal=1C ...? In what order? // Pre-assignation if not defined at ChannelX.signal=1C ...? In what order?
for (unsigned int i = 0; i < total_channels; i++) for (unsigned int i = 0; i < total_channels; i++)
{ {
@@ -732,8 +734,7 @@ void GNSSFlowgraph::set_channels_state()
if (max_acq_channels_ > channels_count_) if (max_acq_channels_ > channels_count_)
{ {
max_acq_channels_ = channels_count_; max_acq_channels_ = channels_count_;
LOG(WARNING) << "Channels_in_acquisition is bigger than number of channels. Variable acq_channels_count_ is set to " LOG(WARNING) << "Channels_in_acquisition is bigger than number of channels. Variable acq_channels_count_ is set to " << channels_count_;
<< channels_count_;
} }
channels_state_.reserve(channels_count_); channels_state_.reserve(channels_count_);
for (unsigned int i = 0; i < channels_count_; i++) for (unsigned int i = 0; i < channels_count_; i++)