aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--src/output/SDR.cpp2
-rw-r--r--src/output/UHD.cpp3
3 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index a566ff9..9253cab 100644
--- a/TODO
+++ b/TODO
@@ -13,6 +13,7 @@ output to share the parts that are common.
This would enable SFN support with LimeSDR devices.
+Move dpd port from uhd section to somewhere else.
Clean up and separate GPS and refclk checks.
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp
index 66e93e2..56cb1bd 100644
--- a/src/output/SDR.cpp
+++ b/src/output/SDR.cpp
@@ -157,6 +157,8 @@ void SDR::process_thread_entry()
size_t last_num_underflows = 0;
size_t pop_prebuffering = FRAMES_MAX_SIZE;
+ m_running.store(true);
+
while (m_running.load()) {
struct FrameData frame;
etiLog.log(trace, "SDR,wait");
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp
index 3769c60..54ff6c2 100644
--- a/src/output/UHD.cpp
+++ b/src/output/UHD.cpp
@@ -239,6 +239,9 @@ UHD::UHD(
m_rx_stream = m_usrp->get_rx_stream(stream_args);
m_tx_stream = m_usrp->get_tx_stream(stream_args);
+ m_running.store(true);
+ m_async_rx_thread = boost::thread(&UHD::print_async_thread, this);
+
MDEBUG("OutputUHD:UHD ready.\n");
}