aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-04-13 21:49:28 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-04-15 07:45:18 -0500
commit0597c128475385daf9d0abafc60ec861c951eeaa (patch)
treeb1fd490c083955a6020a8f0c257a86f67aa91335 /host/utils
parentd90e8a91fd37e49dad36cf8fc890a08494d979c2 (diff)
downloaduhd-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