don't turn on/off libusb debugging
This commit is contained in:
parent
f0551a6543
commit
a5e18535ad
|
@ -303,7 +303,6 @@ static int hw_init(char *deviceinfo)
|
||||||
g_warning("Failed to initialize USB.");
|
g_warning("Failed to initialize USB.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libusb_set_debug(usb_context, 3);
|
|
||||||
|
|
||||||
/* Find all Saleae Logic devices and upload firmware to all of them. */
|
/* Find all Saleae Logic devices and upload firmware to all of them. */
|
||||||
devcnt = 0;
|
devcnt = 0;
|
||||||
|
|
|
@ -151,8 +151,6 @@ int gl_open(int vid)
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return GL_ELIBUSB;
|
return GL_ELIBUSB;
|
||||||
|
|
||||||
libusb_set_debug(NULL, 0);
|
|
||||||
|
|
||||||
if (libusb_get_device_list(NULL, &devs) < 0) {
|
if (libusb_get_device_list(NULL, &devs) < 0) {
|
||||||
ret = GL_EOPEN;
|
ret = GL_EOPEN;
|
||||||
goto gl_open_error;
|
goto gl_open_error;
|
||||||
|
|
Loading…
Reference in New Issue