aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/xusb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index d775781..08de6ba 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -851,8 +851,7 @@ int main(int argc, char** argv)
if (r < 0)
return r;
- // Info = 3, Debug = 4
- libusb_set_debug(NULL, debug_mode?4:3);
+ libusb_set_debug(NULL, debug_mode?LOG_LEVEL_DEBUG:LOG_LEVEL_INFO);
test_device(VID, PID);