diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-30 17:34:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-05 13:45:14 -0700 |
commit | 158bf440d2884b981a86121990be16decedaa733 (patch) | |
tree | 68334f46295e532e5fd22ba5b5f27b50026da3d5 /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | 905f5b3b249a60401e181856ac6b3f2cae88d166 (diff) | |
download | uhd-158bf440d2884b981a86121990be16decedaa733.tar.gz uhd-158bf440d2884b981a86121990be16decedaa733.tar.bz2 uhd-158bf440d2884b981a86121990be16decedaa733.zip |
usrp2: moved calculations for max packet size and otw types into shared object between device and mboards
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index af496bf69..436146a48 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -173,7 +173,7 @@ usrp2_impl::usrp2_impl( //create a new mboard handler for each control transport for(size_t i = 0; i < ctrl_transports.size(); i++){ _mboards.push_back(usrp2_mboard_impl::sptr( - new usrp2_mboard_impl(i, ctrl_transports[i]) + new usrp2_mboard_impl(i, ctrl_transports[i], _io_helper) )); //use an empty name when there is only one mboard std::string name = (ctrl_transports.size() > 1)? boost::lexical_cast<std::string>(i) : ""; |