]> sigrok.org Git - libsigrok.git/commitdiff
don't turn on/off libusb debugging
authorBert Vermeulen <redacted>
Mon, 27 Dec 2010 22:44:50 +0000 (23:44 +0100)
committerBert Vermeulen <redacted>
Mon, 27 Dec 2010 22:49:46 +0000 (23:49 +0100)
hardware/saleae-logic/saleae-logic.c
hardware/zeroplus-logic-cube/gl_usb.c

index 75bf6c13889267e041aa234b4f47b4b86a595e62..beedf4baf23a2537c8732638fb8e659299e4b8cd 100644 (file)
@@ -303,7 +303,6 @@ static int hw_init(char *deviceinfo)
                g_warning("Failed to initialize USB.");
                return 0;
        }
-       libusb_set_debug(usb_context, 3);
 
        /* Find all Saleae Logic devices and upload firmware to all of them. */
        devcnt = 0;
index 29a7a7b164ac5ca90c482886782b5e1acdce56f1..b371ba5979c8afe1d6292febbd9cc2f28b83ad0d 100644 (file)
@@ -151,8 +151,6 @@ int gl_open(int vid)
        if (ret < 0)
                return GL_ELIBUSB;
 
-       libusb_set_debug(NULL, 0);
-
        if (libusb_get_device_list(NULL, &devs) < 0) {
                ret = GL_EOPEN;
                goto gl_open_error;