From b26fde93d8751f62d7ae64cd6b209181f4432c89 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 4 Nov 2017 11:15:31 +0100 Subject: Properly start SDR and UHD threads --- src/output/UHD.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/output/UHD.cpp') 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"); } -- cgit v1.2.3