mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Re-assign signal to channel in case of re-adquiring the same satellite
This commit is contained in:
parent
37616765ae
commit
1dd1d826f8
@ -1222,6 +1222,7 @@ void GNSSFlowgraph::acquisition_manager(unsigned int who)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
channels_[current_channel]->set_signal(channels_[current_channel]->get_signal());
|
||||||
start_acquisition = true;
|
start_acquisition = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1345,6 +1346,7 @@ void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what)
|
|||||||
channels_state_[who] = 1;
|
channels_state_[who] = 1;
|
||||||
acq_channels_count_++;
|
acq_channels_count_++;
|
||||||
DLOG(INFO) << "Channel " << who << " Starting acquisition " << gs.get_satellite() << ", Signal " << gs.get_signal_str();
|
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
|
#ifndef ENABLE_FPGA
|
||||||
channels_[who]->start_acquisition();
|
channels_[who]->start_acquisition();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user