aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-18 10:43:47 -0800
committerJosh Blum <josh@joshknows.com>2011-02-18 10:43:47 -0800
commitb1313c9f65ea89c3aa9707538af027da337dcba8 (patch)
tree85e9214327930f2cc800f4e2ae619deddaa26d4e /host/lib/usrp/usrp2/io_impl.cpp
parent49485ea1fe4cfd7e3d21739d7059ac7c0537e3e6 (diff)
downloaduhd-b1313c9f65ea89c3aa9707538af027da337dcba8.tar.gz
uhd-b1313c9f65ea89c3aa9707538af027da337dcba8.tar.bz2
uhd-b1313c9f65ea89c3aa9707538af027da337dcba8.zip
usrp2: moved all dsp related code into dsp_impl and split for multiple dsps
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index acd520b0b..816f1859a 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -464,7 +464,8 @@ size_t usrp2_impl::get_max_recv_samps_per_packet(void) const{
static void handle_overflow(std::vector<usrp2_mboard_impl::sptr> &mboards, size_t chan){
std::cerr << "O" << std::flush;
- mboards.at(chan/mboards.size())->handle_overflow();
+ //TODO this is wrong way to determine the index...
+ mboards.at(chan/mboards.size())->handle_overflow(chan%mboards.size());
}
size_t usrp2_impl::recv(