diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-05 00:24:16 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-05 00:24:16 +0000 |
commit | a5cdd7a311edcb3afdc9673bd7f6ec84bf8e7b6c (patch) | |
tree | 7e93babea262e9c3e807c0d45c43e400a22a4cfd /host/lib/usrp/usrp_e/io_impl.cpp | |
parent | a5dca07971587e3b20e57924227c020f13bfd700 (diff) | |
download | uhd-a5cdd7a311edcb3afdc9673bd7f6ec84bf8e7b6c.tar.gz uhd-a5cdd7a311edcb3afdc9673bd7f6ec84bf8e7b6c.tar.bz2 uhd-a5cdd7a311edcb3afdc9673bd7f6ec84bf8e7b6c.zip |
usrp-e more implementation, rx timed samples runs w/o error (no workie though)
Diffstat (limited to 'host/lib/usrp/usrp_e/io_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp_e/io_impl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/io_impl.cpp b/host/lib/usrp/usrp_e/io_impl.cpp index 5914bc613..9ebc5b560 100644 --- a/host/lib/usrp/usrp_e/io_impl.cpp +++ b/host/lib/usrp/usrp_e/io_impl.cpp @@ -22,6 +22,8 @@ #include <fcntl.h> //read, write #include <linux/usrp_e.h> //transfer frame struct #include <stddef.h> //offsetof +#include <boost/format.hpp> +#include <iostream> using namespace uhd; @@ -68,6 +70,9 @@ private: ); } size_t recv(const boost::asio::mutable_buffer &buff){ + std::cout << boost::format( + "calling read on fd %d, buff size is %d" + ) % _fd % boost::asio::buffer_size(buff) << std::endl; return read( _fd, boost::asio::buffer_cast<void *>(buff), |