aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-27 12:32:11 -0800
committerJosh Blum <josh@joshknows.com>2011-01-27 12:32:11 -0800
commit8a62a20041605238320eae1f1a69221ef00b6bf1 (patch)
tree057861ab3f2226a18831b9e54b7c4700bde42462
parente7df80534244adf49d1df6efcb316b96f6af994d (diff)
downloaduhd-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.cpp3
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()));