aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-02 08:19:22 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-02 08:19:22 -0700
commita3454891c90dcd7333fff446b8494b7a0f79c10c (patch)
treec79337521f123df3f67c0e5217d0ba0227bd9fd0
parentc286032a2a26edcbbd19686032e8d3517db9868e (diff)
downloaduhd-a3454891c90dcd7333fff446b8494b7a0f79c10c.tar.gz
uhd-a3454891c90dcd7333fff446b8494b7a0f79c10c.tar.bz2
uhd-a3454891c90dcd7333fff446b8494b7a0f79c10c.zip
usb: usb_dummy made to match usb_control and usb_zero_copy
-rw-r--r--host/lib/transport/usb_dummy_impl.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/host/lib/transport/usb_dummy_impl.cpp b/host/lib/transport/usb_dummy_impl.cpp
index ce8c306e4..b53b6f590 100644
--- a/host/lib/transport/usb_dummy_impl.cpp
+++ b/host/lib/transport/usb_dummy_impl.cpp
@@ -31,12 +31,20 @@ std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(boost::u
return std::vector<usb_device_handle::sptr>(); //empty list
}
-usb_control::sptr usb_control::make(usb_device_handle::sptr, const size_t){
+usb_control::sptr usb_control::make(
+ usb_device_handle::sptr,
+ const int
+) {
throw uhd::not_implemented_error("no usb support -> usb_control::make not implemented");
}
usb_zero_copy::sptr usb_zero_copy::make(
- usb_device_handle::sptr, const size_t, const size_t, const size_t, const size_t, const device_addr_t &
+ usb_device_handle::sptr,
+ const int,
+ const unsigned char,
+ const int,
+ const unsigned char,
+ const device_addr_t &
){
throw uhd::not_implemented_error("no usb support -> usb_zero_copy::make not implemented");
}