diff options
author | Nathan Hjelm <hjelmn@me.com> | 2014-05-06 02:35:44 -0600 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2014-05-06 02:50:23 -0600 |
commit | b4c2ed575aca012955e97b89cf64e81b058cb0cf (patch) | |
tree | a2a5da11bc450352f5a3c2faa102a7115105770e /libusb/version_nano.h | |
parent | 2687fde18a9e6befb10f70945509d85fd6a108c1 (diff) | |
download | libusb-b4c2ed575aca012955e97b89cf64e81b058cb0cf.tar.gz |
darwin: correct endpoint address calculation
The backend was incorrectly calculating the addresses of endpoints
with directions other than kUSBIn and kUSBOut. This primarily affects
devices with multiple control endpoints. This commit should correct
the issue by only setting the direction bit when the direction is
kUSBIn.
Thanks to Jean-Etienne for identifying the issue.
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r-- | libusb/version_nano.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 2588755..51c00b2 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10884 +#define LIBUSB_NANO 10885 |