Core: Update libusb.h header in accordance with the latest USB specs
authorPete Batard <pete@akeo.ie>
Wed, 5 Sep 2012 23:47:08 +0000 (00:47 +0100)
committerPete Batard <pete@akeo.ie>
Sat, 15 Sep 2012 01:05:24 +0000 (02:05 +0100)
commit3f513b62467d1842ec0771aaec01fde2f57bfb9c
tree229237783975e4cea0d25e72ac747eea72844f7f
parent6fbd3dd813827751c9ebe0ea3dfe5e5cef1f2e00
Core: Update libusb.h header in accordance with the latest USB specs

* IMPORTANT: This update fixes a typo in the API where MaxPower was being
  used instead of bMaxPower, with the latter being what is actually in
  the specs.
* As a result, applications that were using MaxPower need to be updated
  for bMaxPower.
* If you must maintain compatibility with libusb or older versions of
  libusbx, you may also want to either use a #define or copy/paste
  struct libusb_config_descriptor from libusb.h under a new name, and
  then use a cast on calls that require it. For more info, see the
  1.0.13 release notes in the NEWS file.
* Also update copyright notice
libusb/libusb.h
libusb/os/windows_usb.c
libusb/version_nano.h