From 7bc0ba522cbb50a46ee89dfe643203952c25f50f Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 27 Jul 2017 17:37:58 -0700 Subject: [PATCH] Use LIBUSB_* values instead of magic numbers --- libx52/x52_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libx52/x52_core.c b/libx52/x52_core.c index ed14ec4..d73d6be 100644 --- a/libx52/x52_core.c +++ b/libx52/x52_core.c @@ -72,7 +72,7 @@ libx52_device* libx52_init(void) #endif goto err_recovery; } - libusb_set_debug(x52_dev->ctx, 3); + libusb_set_debug(x52_dev->ctx, LIBUSB_LOG_LEVEL_WARNING); count = libusb_get_device_list(x52_dev->ctx, &list); for (i = 0; i < count; i++) {