summaryrefslogtreecommitdiff
path: root/usrp/host/lib/fusb.h
diff options
context:
space:
mode:
authorttsou2009-08-25 14:53:34 -0400
committerttsou2009-09-15 18:06:27 -0400
commit0854c4604fcbdb64c74e4b93b87ac07be3d75f55 (patch)
tree87e5e80a7c38cd6a1d3f27b2a2e1e64e385ec2eb /usrp/host/lib/fusb.h
parentb5aa407ec2b1bdebc1c950a9428789fe50327776 (diff)
downloadgnuradio-0854c4604fcbdb64c74e4b93b87ac07be3d75f55.tar.gz
gnuradio-0854c4604fcbdb64c74e4b93b87ac07be3d75f55.tar.bz2
gnuradio-0854c4604fcbdb64c74e4b93b87ac07be3d75f55.zip
Fix for simultaneous tx-rx using libusb_contexts
Diffstat (limited to 'usrp/host/lib/fusb.h')
-rw-r--r--usrp/host/lib/fusb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usrp/host/lib/fusb.h b/usrp/host/lib/fusb.h
index bfe34d5b8..fbd651204 100644
--- a/usrp/host/lib/fusb.h
+++ b/usrp/host/lib/fusb.h
@@ -27,6 +27,7 @@
struct libusb_device_handle;
+struct libusb_context;
class fusb_ephandle;
/*!
@@ -116,7 +117,8 @@ public:
/*!
* \brief returns fusb_devhandle or throws if trouble
*/
- static fusb_devhandle *make_devhandle (libusb_device_handle *udh);
+ static fusb_devhandle *make_devhandle (libusb_device_handle *udh,
+ libusb_context *ctx);
/*!
* \brief Returns max block size in bytes (hard limit).