From 0ea89ffaa4779dd045ea56a8afc5e81f57d7ad9d Mon Sep 17 00:00:00 2001 From: mattprost Date: Fri, 25 Jun 2021 13:01:18 -0500 Subject: examples: Fix tx frequency tuning in radio loopback --- host/examples/rfnoc_radio_loopback.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/examples/rfnoc_radio_loopback.cpp b/host/examples/rfnoc_radio_loopback.cpp index bc5bc91be..a0a1cca3d 100644 --- a/host/examples/rfnoc_radio_loopback.cpp +++ b/host/examples/rfnoc_radio_loopback.cpp @@ -169,9 +169,9 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) if (vm.count("int-n")) { tune_request.args = uhd::device_addr_t("mode_n=integer"); } - rx_radio_ctrl->set_tx_frequency(tx_freq, tx_chan); + tx_radio_ctrl->set_tx_frequency(tx_freq, tx_chan); std::cout << boost::format("Actual TX Freq: %f MHz...") - % (rx_radio_ctrl->get_tx_frequency(tx_chan) / 1e6) + % (tx_radio_ctrl->get_tx_frequency(tx_chan) / 1e6) << std::endl << std::endl; } -- cgit v1.2.3