libusb: disable debug messages by default

Change-Id: I15dec0f521502139b57adaff576516af7883a74b
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1314
Tested-by: jenkins
__archive__
Spencer Oliver 2013-04-09 15:40:18 +01:00
parent 3ad44cc1f5
commit 305832c49d
1 changed files with 0 additions and 2 deletions

View File

@ -51,8 +51,6 @@ int jtag_libusb_open(const uint16_t vids[], const uint16_t pids[],
if (libusb_init(&jtag_libusb_context) < 0) if (libusb_init(&jtag_libusb_context) < 0)
return -ENODEV; return -ENODEV;
libusb_set_debug(jtag_libusb_context, 3);
cnt = libusb_get_device_list(jtag_libusb_context, &devs); cnt = libusb_get_device_list(jtag_libusb_context, &devs);
for (idx = 0; idx < cnt; idx++) { for (idx = 0; idx < cnt; idx++) {