aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rfnoc_rx_to_file.cpp
diff options
context:
space:
mode:
authornatetemple <nate.temple@ettus.com>2019-11-22 16:05:14 -0800
committerMartin Braun <martin.braun@ettus.com>2019-11-24 16:55:27 -0800
commit0e184f7185bd8645051535f23b5cc50a80bda296 (patch)
tree1f95f67c945a0cae1b826b5a8d94330cffae2931 /host/examples/rfnoc_rx_to_file.cpp
parent9b203bf95bf47ea20ce54b8c1dd90ac90e1a8f25 (diff)
downloaduhd-0e184f7185bd8645051535f23b5cc50a80bda296.tar.gz
uhd-0e184f7185bd8645051535f23b5cc50a80bda296.tar.bz2
uhd-0e184f7185bd8645051535f23b5cc50a80bda296.zip
Examples: Set refs in RFNoC examples
Diffstat (limited to 'host/examples/rfnoc_rx_to_file.cpp')
-rw-r--r--host/examples/rfnoc_rx_to_file.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/host/examples/rfnoc_rx_to_file.cpp b/host/examples/rfnoc_rx_to_file.cpp
index 12e774d88..5bb9985ae 100644
--- a/host/examples/rfnoc_rx_to_file.cpp
+++ b/host/examples/rfnoc_rx_to_file.cpp
@@ -323,11 +323,10 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
* Set up radio
***********************************************************************/
radio_ctrl->set_args(radio_args);
+
+ // Lock mboard clocks
if (vm.count("ref")) {
- std::cout << "TODO -- Need to implement API call to set clock source."
- << std::endl;
- // Lock mboard clocks TODO
- // usrp->set_clock_source(ref);
+ radio_ctrl->set_clock_source(ref);
}
// set the sample rate