diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-04-13 21:49:28 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-04-15 07:45:18 -0500 |
commit | 0597c128475385daf9d0abafc60ec861c951eeaa (patch) | |
tree | b1fd490c083955a6020a8f0c257a86f67aa91335 /host/utils | |
parent | d90e8a91fd37e49dad36cf8fc890a08494d979c2 (diff) | |
download | uhd-0597c128475385daf9d0abafc60ec861c951eeaa.tar.gz uhd-0597c128475385daf9d0abafc60ec861c951eeaa.tar.bz2 uhd-0597c128475385daf9d0abafc60ec861c951eeaa.zip |
libusb: Remove deprecation warnings for libusb_set_debug
Starting with 1.0.22, libusb considers libusb_set_debug() deprecated.
This replaces said call with libusb_set_option(), conditionally on the
libusb version. This has no effect on the execution, but will remove
some compiler versions, and make this code more future-proof.
Note that Ubuntu 18.04 ships libusb 1.0.21, so this conditional code
needs to remain until that version is deprecated and libusb version is
bumped higher.
Diffstat (limited to 'host/utils')
0 files changed, 0 insertions, 0 deletions