diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-29 09:44:28 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-29 09:44:28 -0700 |
commit | 83039bdc8b16ab6554e91bce2d0cdc7c89665062 (patch) | |
tree | 9aeb7096a831500d7a95fa1fb1fef75678752201 /host/include | |
parent | b70d4430d4a898fe99b54740a1c4821ed9a1077b (diff) | |
parent | e4c6f42ff30aeaedf2d1eb426a221b85236fb74e (diff) | |
download | uhd-83039bdc8b16ab6554e91bce2d0cdc7c89665062.tar.gz uhd-83039bdc8b16ab6554e91bce2d0cdc7c89665062.tar.bz2 uhd-83039bdc8b16ab6554e91bce2d0cdc7c89665062.zip |
Merge branch 'libusb'
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/usb_control.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/transport/usb_control.hpp b/host/include/uhd/transport/usb_control.hpp index 6137ecf84..f9829c3ec 100644 --- a/host/include/uhd/transport/usb_control.hpp +++ b/host/include/uhd/transport/usb_control.hpp @@ -50,9 +50,9 @@ public: * \param index 2-byte (wIndex) * \param buff buffer to hold send or receive data * \param length 2-byte (wLength) - * \return number of bytes submitted + * \return number of bytes submitted or error code */ - virtual size_t submit(boost::uint8_t request_type, + virtual ssize_t submit(boost::uint8_t request_type, boost::uint8_t request, boost::uint16_t value, boost::uint16_t index, |