Core: Define log levels in libusb.h

* Also update xusb sample to use these levels
This commit is contained in:
Pete Batard 2012-05-24 13:36:23 +01:00
parent 9ec54b6919
commit 933a319469
5 changed files with 30 additions and 24 deletions

View file

@ -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);