am7xxx: use the symbolic constant for libusb log level
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 5 Apr 2013 21:35:34 +0000 (23:35 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 5 Apr 2013 21:35:34 +0000 (23:35 +0200)
src/am7xxx.c

index acf04a4..1f75c60 100644 (file)
@@ -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) {