projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9e24b79
)
am7xxx-modeswitch: use LIBUSB_LOG_LEVEL_INFO instead of a magic number
author
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 10:12:22 +0000
(12:12 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 13:17:49 +0000
(15:17 +0200)
examples/am7xxx-modeswitch.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-modeswitch.c
b/examples/am7xxx-modeswitch.c
index
fd2be6d
..
f719f03
100644
(file)
--- a/
examples/am7xxx-modeswitch.c
+++ b/
examples/am7xxx-modeswitch.c
@@
-42,7
+42,7
@@
int main(void)
if (ret < 0)
goto out;
if (ret < 0)
goto out;
- libusb_set_debug(NULL,
3
);
+ libusb_set_debug(NULL,
LIBUSB_LOG_LEVEL_INFO
);
usb_device = libusb_open_device_with_vid_pid(NULL,
AM7XXX_STORAGE_VID,
usb_device = libusb_open_device_with_vid_pid(NULL,
AM7XXX_STORAGE_VID,