aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-13 12:22:03 -0800
committerJosh Blum <josh@joshknows.com>2011-01-13 12:22:03 -0800
commit41e774c7c38ed8498e8bfad877f237ed090238ce (patch)
tree6524261ccdcf364b31a1c27eb1268583d0fadf24 /host/lib/usrp/usrp1/usrp1_impl.cpp
parent2b52aff10d68b66fce0004ff5a2a025288cee1c6 (diff)
downloaduhd-41e774c7c38ed8498e8bfad877f237ed090238ce.tar.gz
uhd-41e774c7c38ed8498e8bfad877f237ed090238ce.tar.bz2
uhd-41e774c7c38ed8498e8bfad877f237ed090238ce.zip
usrp1: implement soft time ctrl for send at, recv at
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp
index 6016b0979..21f2b148a 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.cpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.cpp
@@ -161,6 +161,10 @@ usrp1_impl::usrp1_impl(uhd::transport::usb_zero_copy::sptr data_transport,
usrp_ctrl::sptr ctrl_transport)
: _data_transport(data_transport), _ctrl_transport(ctrl_transport)
{
+ _soft_time_ctrl = soft_time_ctrl::make(
+ boost::bind(&usrp1_impl::stream_on_off, this, _1)
+ );
+
_iface = usrp1_iface::make(ctrl_transport);
//create clock interface