projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am7xxx: use the symbolic constant for libusb log level
[libam7xxx.git]
/
src
/
am7xxx.c
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
acf04a4
..
1f75c60
100644
(file)
--- a/
src/am7xxx.c
+++ b/
src/am7xxx.c
@@
-688,7
+688,7
@@
AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
if (ret < 0)
goto out_free_context;
if (ret < 0)
goto out_free_context;
- libusb_set_debug((*ctx)->usb_context,
3
);
+ libusb_set_debug((*ctx)->usb_context,
LIBUSB_LOG_LEVEL_INFO
);
ret = scan_devices(*ctx, SCAN_OP_BUILD_DEVLIST , 0, NULL);
if (ret < 0) {
ret = scan_devices(*ctx, SCAN_OP_BUILD_DEVLIST , 0, NULL);
if (ret < 0) {