]> git.sur5r.net Git - openocd/commitdiff
libusb: disable debug messages by default
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 9 Apr 2013 14:40:18 +0000 (15:40 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 17 Apr 2013 09:49:45 +0000 (09:49 +0000)
Change-Id: I15dec0f521502139b57adaff576516af7883a74b
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1314
Tested-by: jenkins
src/jtag/drivers/libusb1_common.c

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