From: Antonio Ospite Date: Fri, 5 Apr 2013 21:35:34 +0000 (+0200) Subject: am7xxx: use the symbolic constant for libusb log level X-Git-Tag: v0.1.4~32 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/6d960cf72946c2f05d60dfcf8fb21efbdb69c9c7 am7xxx: use the symbolic constant for libusb log level --- diff --git a/src/am7xxx.c b/src/am7xxx.c index acf04a4..1f75c60 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -688,7 +688,7 @@ AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx) if (ret < 0) goto out_free_context; - libusb_set_debug((*ctx)->usb_context, 3); + libusb_set_debug((*ctx)->usb_context, LIBUSB_LOG_LEVEL_INFO); ret = scan_devices(*ctx, SCAN_OP_BUILD_DEVLIST , 0, NULL); if (ret < 0) {