summaryrefslogtreecommitdiffstats
path: root/host/docs/usrp2.rst
diff options
context:
space:
mode:
Diffstat (limited to 'host/docs/usrp2.rst')
-rw-r--r--host/docs/usrp2.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst
index 5f1e51ea9..8ef31af1a 100644
--- a/host/docs/usrp2.rst
+++ b/host/docs/usrp2.rst
@@ -337,10 +337,8 @@ In order for the slave to synchronize to the master over MIMO cable,
the following clock configuration must be set on the slave device:
::
- uhd::clock_config_t clock_config;
- clock_config.ref_source = uhd::clock_config_t::REF_MIMO;
- clock_config.pps_source = uhd::clock_config_t::PPS_MIMO;
- usrp->set_clock_config(clock_config, slave_index);
+ usrp->set_time_source("mimo", slave_index);
+ usrp->set_clock_source("mimo", slave_index);
------------------------------------------------------------------------