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

Re-assign signal to channel in case of re-adquiring the same satellite

This commit is contained in:
Javier 2019-08-30 17:00:12 +02:00
parent 37616765ae
commit 1dd1d826f8

View File

@ -1222,6 +1222,7 @@ void GNSSFlowgraph::acquisition_manager(unsigned int who)
}
else
{
channels_[current_channel]->set_signal(channels_[current_channel]->get_signal());
start_acquisition = true;
}
@ -1345,6 +1346,7 @@ void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what)
channels_state_[who] = 1;
acq_channels_count_++;
DLOG(INFO) << "Channel " << who << " Starting acquisition " << gs.get_satellite() << ", Signal " << gs.get_signal_str();
channels_[who]->set_signal(channels_[who]->get_signal());
#ifndef ENABLE_FPGA
channels_[who]->start_acquisition();
#else