diff options
author | Balint Seeber <balint.seeber@ettus.com> | 2015-07-27 15:16:49 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-08-03 10:11:44 -0700 |
commit | 4ed2b26d512ed8c8e78fbbfcf25a3560fd8c7102 (patch) | |
tree | 940764e665d503f50a293ac8d50ca1fb0b605544 /host/lib/transport/libusb1_base.hpp | |
parent | e1672fa7eedb00a977c39b7e80bb18521493b524 (diff) | |
download | uhd-4ed2b26d512ed8c8e78fbbfcf25a3560fd8c7102.tar.gz uhd-4ed2b26d512ed8c8e78fbbfcf25a3560fd8c7102.tar.bz2 uhd-4ed2b26d512ed8c8e78fbbfcf25a3560fd8c7102.zip |
b200: Change init sequence to catch bad USB states
- Fixes USB hang issues on OS X
- Uses usb_errors
Diffstat (limited to 'host/lib/transport/libusb1_base.hpp')
-rw-r--r-- | host/lib/transport/libusb1_base.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_base.hpp b/host/lib/transport/libusb1_base.hpp index b00946614..2e16dc176 100644 --- a/host/lib/transport/libusb1_base.hpp +++ b/host/lib/transport/libusb1_base.hpp @@ -135,6 +135,10 @@ namespace libusb { * Control interface: 0 */ virtual void claim_interface(int) = 0; + + virtual void clear_endpoints(unsigned char recv_endpoint, unsigned char send_endpoint) = 0; + + virtual void reset_device(void) = 0; }; /*! |