From 0e184f7185bd8645051535f23b5cc50a80bda296 Mon Sep 17 00:00:00 2001 From: natetemple Date: Fri, 22 Nov 2019 16:05:14 -0800 Subject: Examples: Set refs in RFNoC examples --- host/examples/rfnoc_rx_to_file.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'host/examples/rfnoc_rx_to_file.cpp') 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 -- cgit v1.2.3