mirror of https://github.com/nirenjan/libx52.git
With the release of libusb 1.0.22, `libusb_set_debug` has been deprecated and replaced by `libusb_set_option`. This function is a new generic API to add additional functionality in the future without having to introduce new functions. This change checks for `LIBUSB_API_VERSION` of at least `0x01000106`, which is the version corresponding to 1.0.22, and if it matches, it replaces the calls to `libusb_set_debug` with equivalent calls to `libusb_set_option`. |
||
---|---|---|
.. | ||
create_device_list.c | ||
log_actions.c |