Use LIBUSB_* values instead of magic numbers

pull/13/head
nirenjan 2017-07-27 17:37:58 -07:00
parent 74eeb27ad4
commit 7bc0ba522c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ libx52_device* libx52_init(void)
#endif #endif
goto err_recovery; 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); count = libusb_get_device_list(x52_dev->ctx, &list);
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {