Document that libusb_set_option may also return NOT_FOUND
authorJonas Malaco <jonas@protocubo.io>
Fri, 22 May 2020 09:36:58 +0000 (06:36 -0300)
committerChris Dickens <christopher.a.dickens@gmail.com>
Tue, 9 Jun 2020 17:33:23 +0000 (10:33 -0700)
commit349baae0b5e5e8a0aeae9656b69afbcdd6acbe64
tree2faf4d62b507d92de6612610996aaab7216f457b
parent0003e606175e344d463a9af73658cab5c01d6286
Document that libusb_set_option may also return NOT_FOUND

If the platform is Windows but UsbDk is not available libusb_set_option
returns LIBUSB_ERROR_NOT_FOUND.[1] Adjust the documentation to reflect that.

[1] https://github.com/libusb/libusb/blob/26611eaa494ed9e077b5b0e1f999f5ae377de958/libusb/os/windows_common.c#L570-L578

Closes #735

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/core.c
libusb/version_nano.h