diff options
author | ttsou | 2009-08-28 11:42:41 -0400 |
---|---|---|
committer | ttsou | 2009-09-15 18:06:27 -0400 |
commit | f79de610d42fdbe8425a1a4aa3c04a1ee3c58e06 (patch) | |
tree | 1f5bb2984953e8da9d5205776dbf2561056efbfb /usrp/host/lib/fusb_sysconfig_libusb1.cc | |
parent | c62085a66bd97f389f49167492f7dccfb0b02976 (diff) | |
download | gnuradio-f79de610d42fdbe8425a1a4aa3c04a1ee3c58e06.tar.gz gnuradio-f79de610d42fdbe8425a1a4aa3c04a1ee3c58e06.tar.bz2 gnuradio-f79de610d42fdbe8425a1a4aa3c04a1ee3c58e06.zip |
Added libusb1 specific usrp_prims and usrp_basic
Diffstat (limited to 'usrp/host/lib/fusb_sysconfig_libusb1.cc')
-rw-r--r-- | usrp/host/lib/fusb_sysconfig_libusb1.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usrp/host/lib/fusb_sysconfig_libusb1.cc b/usrp/host/lib/fusb_sysconfig_libusb1.cc index a005f540d..aafbb81cb 100644 --- a/usrp/host/lib/fusb_sysconfig_libusb1.cc +++ b/usrp/host/lib/fusb_sysconfig_libusb1.cc @@ -30,7 +30,14 @@ static const int FUSB_BUFFER_SIZE = 1 * (1L << 20); // 1 MB struct libusb_context; fusb_devhandle * -fusb_sysconfig::make_devhandle (libusb_device_handle *udh, libusb_context *ctx) +fusb_sysconfig::make_devhandle (libusb_device_handle *udh) +{ + return new fusb_devhandle_libusb1 (udh, NULL); +} + +fusb_devhandle * +fusb_sysconfig::make_devhandle (libusb_device_handle *udh, + libusb_context *ctx) { return new fusb_devhandle_libusb1 (udh, ctx); } |