diff options
author | Nick Foster <nick@nerdnetworks.org> | 2011-01-17 22:52:41 -0800 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2011-01-17 22:52:41 -0800 |
commit | 24c3565f9f887045e414652edffd6b5536f8c7a5 (patch) | |
tree | a0e40a679d6a029268fc2a328f3643c40a9e880b /host/lib/usrp/usrp1/usrp1_impl.cpp | |
parent | 330a014dfc32b34a7fe5555d3ae2d87a25dc2466 (diff) | |
parent | 37116e6c5be8e2660b9dd165e04ea1af4087f1f0 (diff) | |
download | uhd-24c3565f9f887045e414652edffd6b5536f8c7a5.tar.gz uhd-24c3565f9f887045e414652edffd6b5536f8c7a5.tar.bz2 uhd-24c3565f9f887045e414652edffd6b5536f8c7a5.zip |
Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into next
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_impl.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp index 04a199928..c395db0b9 100644 --- a/host/lib/usrp/usrp1/usrp1_impl.cpp +++ b/host/lib/usrp/usrp1/usrp1_impl.cpp @@ -139,6 +139,7 @@ static device::sptr usrp1_make(const device_addr_t &device_addr){ usb_control::sptr ctrl_transport = usb_control::make(handle); usrp_ctrl::sptr usrp_ctrl = usrp_ctrl::make(ctrl_transport); usrp_ctrl->usrp_load_fpga(usrp1_fpga_image); + usrp_ctrl->usrp_init(); usb_zero_copy::sptr data_transport = usb_zero_copy::make( handle, // identifier 6, // IN endpoint @@ -161,10 +162,6 @@ 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 @@ -196,9 +193,6 @@ usrp1_impl::usrp1_impl(uhd::transport::usb_zero_copy::sptr data_transport, //initialize the send/recv io_init(); - //turn on the transmitter - _ctrl_transport->usrp_tx_enable(true); - //init the subdev specs this->mboard_set(MBOARD_PROP_RX_SUBDEV_SPEC, subdev_spec_t()); this->mboard_set(MBOARD_PROP_TX_SUBDEV_SPEC, subdev_spec_t()); |