aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-02 18:29:19 -0700
committerJosh Blum <josh@joshknows.com>2010-07-05 13:45:17 -0700
commit37bc860d52c937fb35925af3590d9bca1ecad559 (patch)
treeb377612c19f1ef5723d7a09bd94799db56d32e64 /host/lib
parent09ad8e1337c76ae9ca8bbf18791519fa786a286a (diff)
downloaduhd-37bc860d52c937fb35925af3590d9bca1ecad559.tar.gz
uhd-37bc860d52c937fb35925af3590d9bca1ecad559.tar.bz2
uhd-37bc860d52c937fb35925af3590d9bca1ecad559.zip
mimo: added call to set time to zero at next pps on init
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/mimo_usrp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/mimo_usrp.cpp b/host/lib/usrp/mimo_usrp.cpp
index 3c9788388..bd7753d09 100644
--- a/host/lib/usrp/mimo_usrp.cpp
+++ b/host/lib/usrp/mimo_usrp.cpp
@@ -64,6 +64,10 @@ public:
mboard[MBOARD_PROP_CLOCK_CONFIG] = clock_config;
}
+ //set the times to zero at the next pps and sleep
+ this->set_time_next_pps(time_spec_t(0, 0));
+ sleep(1);
+
}
~mimo_usrp_impl(void){