From 6d960cf72946c2f05d60dfcf8fb21efbdb69c9c7 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 5 Apr 2013 23:35:34 +0200 Subject: [PATCH] am7xxx: use the symbolic constant for libusb log level --- src/am7xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.1.4