diff options
author | Pete Batard <pete@akeo.ie> | 2012-05-24 13:36:23 +0100 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-05-28 10:35:23 +0100 |
commit | 933a319469bcccc962031c989e39d9d1f44f2885 (patch) | |
tree | 1046aa7205633fbe88b7d3c14fb40c904da9468f /examples | |
parent | 9ec54b69192822eb841e6c96a1dc5b972fdc4d82 (diff) | |
download | android_external_libusbx-933a319469bcccc962031c989e39d9d1f44f2885.tar.gz android_external_libusbx-933a319469bcccc962031c989e39d9d1f44f2885.tar.bz2 android_external_libusbx-933a319469bcccc962031c989e39d9d1f44f2885.zip |
Core: Define log levels in libusb.h
* Also update xusb sample to use these levels
Diffstat (limited to 'examples')
-rw-r--r-- | examples/xusb.c | 3 |
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); |