[Bug 277653] devel/stlink: lots of libusb debug output
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 277653] devel/stlink: lots of libusb debug output"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 14:38:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277653 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste <emaste@freebsd.org> --- libusb10.h: #define DPRINTF(ctx, dbg, format, ...) do { \ switch (dbg) { \ case LIBUSB_DEBUG_FUNCTION: \ if ((ctx)->debug & LIBUSB_DEBUG_FUNCTION) { \ printf("LIBUSB_FUNCTION: " \ format "\n", ## __VA_ARGS__); \ } \ break; \ case LIBUSB_DEBUG_TRANSFER: \ if ((ctx)->debug & LIBUSB_DEBUG_TRANSFER) { \ printf("LIBUSB_TRANSFER: " \ format "\n", ## __VA_ARGS__); \ } \ break; \ default: \ break; \ } \ } while (0) libusb_set_debug() is getting called, or LIBUSB_DEBUG is set in the environment? -- You are receiving this mail because: You are on the CC list for the bug.