From 0854c4604fcbdb64c74e4b93b87ac07be3d75f55 Mon Sep 17 00:00:00 2001 From: ttsou Date: Tue, 25 Aug 2009 14:53:34 -0400 Subject: Fix for simultaneous tx-rx using libusb_contexts --- usrp/host/lib/fusb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usrp/host/lib/fusb.h') 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). -- cgit