diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-27 12:32:11 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-27 12:32:11 -0800 |
commit | 8a62a20041605238320eae1f1a69221ef00b6bf1 (patch) | |
tree | 057861ab3f2226a18831b9e54b7c4700bde42462 | |
parent | e7df80534244adf49d1df6efcb316b96f6af994d (diff) | |
download | uhd-8a62a20041605238320eae1f1a69221ef00b6bf1.tar.gz uhd-8a62a20041605238320eae1f1a69221ef00b6bf1.tar.bz2 uhd-8a62a20041605238320eae1f1a69221ef00b6bf1.zip |
usrp2: dont set the time for slave devices, they always take from mimo cable
-rw-r--r-- | host/lib/usrp/usrp2/mboard_impl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index ee7ad99c5..3e7e8b01f 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -243,6 +243,9 @@ void usrp2_mboard_impl::update_clock_config(void){ } void usrp2_mboard_impl::set_time_spec(const time_spec_t &time_spec, bool now){ + //dont set the time for slave devices, they always take from mimo cable + if (not _mimo_clocking_mode_is_master) return; + //set the ticks _iface->poke32(_iface->regs.time64_ticks, time_spec.get_tick_count(get_master_clock_freq())); |