Core: Define log levels in libusb.h
* Also update xusb sample to use these levels
This commit is contained in:
parent
9ec54b6919
commit
933a319469
5 changed files with 30 additions and 24 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue