summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/fusb_sysconfig_libusb1.cc2
-rw-r--r--usrp/host/lib/fusb_sysconfig_linux.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/usrp/host/lib/fusb_sysconfig_libusb1.cc b/usrp/host/lib/fusb_sysconfig_libusb1.cc
index aafbb81cb..4cbb74132 100644
--- a/usrp/host/lib/fusb_sysconfig_libusb1.cc
+++ b/usrp/host/lib/fusb_sysconfig_libusb1.cc
@@ -32,7 +32,7 @@ struct libusb_context;
fusb_devhandle *
fusb_sysconfig::make_devhandle (libusb_device_handle *udh)
{
- return new fusb_devhandle_libusb1 (udh, NULL);
+ make_devhandle (udh, NULL);
}
fusb_devhandle *
diff --git a/usrp/host/lib/fusb_sysconfig_linux.cc b/usrp/host/lib/fusb_sysconfig_linux.cc
index 8f56f61e2..d4bbfea76 100644
--- a/usrp/host/lib/fusb_sysconfig_linux.cc
+++ b/usrp/host/lib/fusb_sysconfig_linux.cc
@@ -36,7 +36,7 @@ fusb_sysconfig::make_devhandle (usb_dev_handle *udh)
fusb_devhandle *
fusb_sysconfig::make_devhandle (usb_dev_handle *udh, libusb_context *ctx)
{
- return new fusb_devhandle_linux (udh);
+ make_devhandle (udh);
}
int fusb_sysconfig::max_block_size ()