1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 19:50:34 +00:00

Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime

This commit is contained in:
Javier Arribas 2022-09-06 12:04:57 +02:00
commit 3d62be00ed

View File

@ -814,8 +814,12 @@ int GNSSFlowgraph::connect_galileo_tow_map()
{ {
for (int i = 0; i < channels_count_; i++) for (int i = 0; i < channels_count_; i++)
{ {
top_block_->msg_connect(channels_.at(i)->get_right_block(), pmt::mp("TOW_from_TLM"), galileo_tow_map_, pmt::mp("TOW_from_TLM")); std::string sig = channels_.at(i)->get_signal().get_signal_str();
top_block_->msg_connect(galileo_tow_map_, pmt::mp("TOW_to_TLM"), channels_.at(i)->get_right_block(), pmt::mp("TOW_to_TLM")); if (sig == "1B" || sig == "E6" || sig == "5X" || sig == "7X")
{
top_block_->msg_connect(channels_.at(i)->get_right_block(), pmt::mp("TOW_from_TLM"), galileo_tow_map_, pmt::mp("TOW_from_TLM"));
top_block_->msg_connect(galileo_tow_map_, pmt::mp("TOW_to_TLM"), channels_.at(i)->get_right_block(), pmt::mp("TOW_to_TLM"));
}
} }
} }
catch (const std::exception& e) catch (const std::exception& e)