aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/usb_dummy_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/usb_dummy_impl.cpp')
-rw-r--r--host/lib/transport/usb_dummy_impl.cpp38
1 files changed, 21 insertions, 17 deletions
diff --git a/host/lib/transport/usb_dummy_impl.cpp b/host/lib/transport/usb_dummy_impl.cpp
index 81aad97c6..8e5084a9b 100644
--- a/host/lib/transport/usb_dummy_impl.cpp
+++ b/host/lib/transport/usb_dummy_impl.cpp
@@ -5,44 +5,48 @@
// SPDX-License-Identifier: GPL-3.0-or-later
//
-#include <uhd/transport/usb_device_handle.hpp>
+#include <uhd/exception.hpp>
#include <uhd/transport/usb_control.hpp>
+#include <uhd/transport/usb_device_handle.hpp>
#include <uhd/transport/usb_zero_copy.hpp>
-#include <uhd/exception.hpp>
using namespace uhd;
using namespace uhd::transport;
-usb_control::~usb_control(void){
+usb_control::~usb_control(void)
+{
/* NOP */
}
-usb_device_handle::~usb_device_handle(void) {
+usb_device_handle::~usb_device_handle(void)
+{
/* NOP */
}
-usb_zero_copy::~usb_zero_copy(void) {
+usb_zero_copy::~usb_zero_copy(void)
+{
/* NOP */
}
-std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(uint16_t, uint16_t){
- return std::vector<usb_device_handle::sptr>(); //empty list
+std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(
+ uint16_t, uint16_t)
+{
+ return std::vector<usb_device_handle::sptr>(); // empty list
}
-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_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,
+usb_zero_copy::sptr usb_zero_copy::make(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");
+ const device_addr_t&)
+{
+ throw uhd::not_implemented_error(
+ "no usb support -> usb_zero_copy::make not implemented");
}