From 1dd1d826f86d6e47b7f07579c159ad10e46f30bb Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 30 Aug 2019 17:00:12 +0200 Subject: [PATCH] Re-assign signal to channel in case of re-adquiring the same satellite --- src/core/receiver/gnss_flowgraph.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/receiver/gnss_flowgraph.cc b/src/core/receiver/gnss_flowgraph.cc index a0cdd5e07..abcbeb069 100644 --- a/src/core/receiver/gnss_flowgraph.cc +++ b/src/core/receiver/gnss_flowgraph.cc @@ -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