aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-20 10:58:22 -0700
committerJosh Blum <josh@joshknows.com>2010-07-20 10:58:22 -0700
commit5a4545d3f9689dcddd88f9316ad7bd9c489a3925 (patch)
tree58bbb5606f7d392a941fb001c9cc9541c9bf05d0 /host/lib/usrp/usrp2/usrp2_impl.hpp
parentc75bde36c670d66ba049df23747caa8d1f967c39 (diff)
downloaduhd-5a4545d3f9689dcddd88f9316ad7bd9c489a3925.tar.gz
uhd-5a4545d3f9689dcddd88f9316ad7bd9c489a3925.tar.bz2
uhd-5a4545d3f9689dcddd88f9316ad7bd9c489a3925.zip
uhd: bring timeout parameter to the device::recv call, implement in usrp2
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index ab23830c0..cae1b21d6 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -224,8 +224,7 @@ public:
}
size_t send(
const std::vector<const void *> &, size_t,
- const uhd::tx_metadata_t &,
- const uhd::io_type_t &,
+ const uhd::tx_metadata_t &, const uhd::io_type_t &,
uhd::device::send_mode_t
);
size_t get_max_recv_samps_per_packet(void) const{
@@ -233,9 +232,8 @@ public:
}
size_t recv(
const std::vector<void *> &, size_t,
- uhd::rx_metadata_t &,
- const uhd::io_type_t &,
- uhd::device::recv_mode_t
+ uhd::rx_metadata_t &, const uhd::io_type_t &,
+ uhd::device::recv_mode_t, size_t
);
private: