From: Bert Vermeulen Date: Mon, 27 Dec 2010 22:44:50 +0000 (+0100) Subject: don't turn on/off libusb debugging X-Git-Tag: libsigrok-0.1.0~480 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a5e18535ad897084b9a67dbee19bcc1ebd21ae7a;p=libsigrok.git don't turn on/off libusb debugging --- 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;