aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-20 19:57:04 -0800
committerJosh Blum <josh@joshknows.com>2011-02-20 19:57:04 -0800
commit607f5df7013810e94bbe049e457858ec68f8dd0e (patch)
tree1b607ce8fae00dee527c22e18fb7b15fdb38b79b /host/lib/usrp/usrp2/usrp2_impl.hpp
parente558283f9ff2550d164d868c8e66a5561c781474 (diff)
downloaduhd-607f5df7013810e94bbe049e457858ec68f8dd0e.tar.gz
uhd-607f5df7013810e94bbe049e457858ec68f8dd0e.tar.bz2
uhd-607f5df7013810e94bbe049e457858ec68f8dd0e.zip
usrp2: code working again in a completed form but did not test dual dsp
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 4f68b630e..df55e6a99 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -84,6 +84,7 @@ public:
static const size_t NUM_RX_DSPS = 2;
static const size_t NUM_TX_DSPS = 1;
+ static const size_t MAX_NUM_DSPS = 2;
//structors
usrp2_mboard_impl(
@@ -99,9 +100,6 @@ public:
void handle_overflow(size_t);
- std::vector<uhd::transport::zero_copy_if::sptr> dsp_xports;
- std::vector<uhd::transport::zero_copy_if::sptr> err_xports;
-
private:
size_t _index;
usrp2_impl &_device;
@@ -204,6 +202,9 @@ public:
//public frame sizes, set by mboard, used by io impl
size_t recv_frame_size, send_frame_size;
+ std::vector<uhd::transport::zero_copy_if::sptr> dsp_xports;
+ std::vector<uhd::transport::zero_copy_if::sptr> err_xports;
+
private:
//device properties interface
void get(const wax::obj &, wax::obj &);