aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2020-11-13 15:04:37 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2020-11-17 16:23:17 -0600
commitb6cddba226c31a9dbd9bb7b6a469d646f5372999 (patch)
tree84801372f058c3f9edb96c4f90cfed429530aedc /host/examples
parentcb68d724e6c146036b18b88a9f78254412bee154 (diff)
downloaduhd-b6cddba226c31a9dbd9bb7b6a469d646f5372999.tar.gz
uhd-b6cddba226c31a9dbd9bb7b6a469d646f5372999.tar.bz2
uhd-b6cddba226c31a9dbd9bb7b6a469d646f5372999.zip
examples: Fix PPS option in rfnoc_radio_loopback
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rfnoc_radio_loopback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/rfnoc_radio_loopback.cpp b/host/examples/rfnoc_radio_loopback.cpp
index 1022687cf..068433e41 100644
--- a/host/examples/rfnoc_radio_loopback.cpp
+++ b/host/examples/rfnoc_radio_loopback.cpp
@@ -134,7 +134,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
if (vm.count("pps")) {
// Lock mboard clocks
for (size_t i = 0; i < graph->get_num_mboards(); ++i) {
- graph->get_mb_controller(i)->set_time_source(ref);
+ graph->get_mb_controller(i)->set_time_source(pps);
}
}