am7xxx-modeswitch: use LIBUSB_LOG_LEVEL_INFO instead of a magic number
authorAntonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 10:12:22 +0000 (12:12 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 13:17:49 +0000 (15:17 +0200)
examples/am7xxx-modeswitch.c

index fd2be6d..f719f03 100644 (file)
@@ -42,7 +42,7 @@ int main(void)
        if (ret < 0)
                goto out;
 
        if (ret < 0)
                goto out;
 
-       libusb_set_debug(NULL, 3);
+       libusb_set_debug(NULL, LIBUSB_LOG_LEVEL_INFO);
 
        usb_device = libusb_open_device_with_vid_pid(NULL,
                                                     AM7XXX_STORAGE_VID,
 
        usb_device = libusb_open_device_with_vid_pid(NULL,
                                                     AM7XXX_STORAGE_VID,