projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9da43e7
)
am7xxx: use the symbolic constant for libusb log level
author
Antonio Ospite <ospite@studenti.unina.it>
Fri, 5 Apr 2013 21:35:34 +0000
(23:35 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Fri, 5 Apr 2013 21:35:34 +0000
(23:35 +0200)
src/am7xxx.c
patch
|
blob
|
history
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) {