From 723fe579f0bb74dd5a7a98b729fbab057f2958a0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 2 Nov 2019 12:55:45 +0100 Subject: [PATCH] burrow-clock: libusb_set_debug() is obsolete --- usb/host/burrow-clock.c | 1 - usb/host/test.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/usb/host/burrow-clock.c b/usb/host/burrow-clock.c index 6ef3415..4055743 100644 --- a/usb/host/burrow-clock.c +++ b/usb/host/burrow-clock.c @@ -116,7 +116,6 @@ int main(int argc UNUSED, char **argv) int err; if (err = libusb_init(&usb_ctxt)) die("Cannot initialize libusb: error %d", err); - libusb_set_debug(usb_ctxt, 3); libusb_device *dev = find_device(); diff --git a/usb/host/test.c b/usb/host/test.c index 455d8e2..30426fb 100644 --- a/usb/host/test.c +++ b/usb/host/test.c @@ -49,7 +49,7 @@ int main(void) fprintf(stderr, "Cannot initialize libusb: error %d\n", err); exit(1); } - libusb_set_debug(usb_ctxt, 3); + // libusb_set_debug(usb_ctxt, 3); libusb_device *dev = find_device(); -- 2.39.5