Windows: Fix USB descriptor creation code for HID devices
authorToby Gray <toby.gray@realvnc.com>
Fri, 22 Mar 2013 13:50:01 +0000 (13:50 +0000)
committerPete Batard <pete@akeo.ie>
Mon, 1 Apr 2013 15:48:49 +0000 (16:48 +0100)
commitf00edf639d3c1272744ab37f07f96fea5246976d
treed81c96c1e94f56059a6d70ddfb728dbd0a07d3db
parent8aa50632adb1dff6eacf5a78b998b8def29b4c38
Windows: Fix USB descriptor creation code for HID devices

* Prior to this fix the location for the next endpoint structure was
  obtained by using ed++. This doesn't work as
  sizeof(libusb_endpoint_descriptor) is greater than
  LIBUSB_DT_ENDPOINT_SIZE due to extra members.
* Closes #110
libusb/os/windows_usb.c
libusb/version_nano.h