From d644f7aba84fa02f146282fa79a4f04c2d5a3421 Mon Sep 17 00:00:00 2001 From: Jim Melton Date: Fri, 27 Jan 2023 13:30:32 -0700 Subject: [PATCH] make sure your changes are compiled --- CMakeLists.txt | 2 +- src/algorithms/signal_source/adapters/zmq_signal_source.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9c8f1465..f297fd7fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ option(ENABLE_FLEXIBAND "Enable the use of the signal source adater for the Tele option(ENABLE_ARRAY "Enable the use of CTTC's antenna array front-end as signal source (experimental)" OFF) -option(ENABLE_ZMQ "Enable GNU Radio ZeroMQ Messaging, requires gr-zeromq" OFF) +option(ENABLE_ZMQ "Enable GNU Radio ZeroMQ Messaging, requires gr-zeromq" ON) # Performance analysis tools option(ENABLE_GPERFTOOLS "Enable linking to Gperftools libraries (tcmalloc and profiler)" OFF) diff --git a/src/algorithms/signal_source/adapters/zmq_signal_source.cc b/src/algorithms/signal_source/adapters/zmq_signal_source.cc index 56456b2ef..48f8a9602 100644 --- a/src/algorithms/signal_source/adapters/zmq_signal_source.cc +++ b/src/algorithms/signal_source/adapters/zmq_signal_source.cc @@ -44,7 +44,7 @@ ZmqSignalSource::ZmqSignalSource(const ConfigurationInterface* configuration, LOG(INFO) << "Connecting to ZMQ pub at " << endpoint; // work around gnuradio interface deficiency d_source_block = gr::zeromq::sub_source::make(d_item_size, vlen, const_cast(endpoint.data()), timeout_ms, pass_tags, hwm); - d_source_block->set_tag_propagation_policy(TPP_DONT); // GNSS-SDR doesn't do well with tags/ + d_source_block->set_tag_propagation_policy(gr::block::TPP_DONT); // GNSS-SDR doesn't do well with tags/ } else {