From a5e18535ad897084b9a67dbee19bcc1ebd21ae7a Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 27 Dec 2010 23:44:50 +0100 Subject: [PATCH] don't turn on/off libusb debugging --- hardware/saleae-logic/saleae-logic.c | 1 - hardware/zeroplus-logic-cube/gl_usb.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/hardware/saleae-logic/saleae-logic.c b/hardware/saleae-logic/saleae-logic.c index 75bf6c13..beedf4ba 100644 --- a/hardware/saleae-logic/saleae-logic.c +++ b/hardware/saleae-logic/saleae-logic.c @@ -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; diff --git a/hardware/zeroplus-logic-cube/gl_usb.c b/hardware/zeroplus-logic-cube/gl_usb.c index 29a7a7b1..b371ba59 100644 --- a/hardware/zeroplus-logic-cube/gl_usb.c +++ b/hardware/zeroplus-logic-cube/gl_usb.c @@ -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;