lib: Use GLib and libusb directly for debug output

Use GLib internally to output debug information, and tell about
libusb's LIBUSB_DEBUG envvar for libusb debug.

fp_set_debug() is now a no-op.

https://bugs.freedesktop.org/show_bug.cgi?id=106552
This commit is contained in:
Bastien Nocera
2018-05-23 17:48:55 +02:00
parent 363a1b3371
commit 32fcfde86b
30 changed files with 90 additions and 151 deletions

View File

@@ -17,14 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define FP_COMPONENT "vfs101"
#include "fp_internal.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#define FP_COMPONENT "vfs101"
#include <fp_internal.h>
#include "driver_ids.h"
/* Input-Output usb endpoint */